Procházet zdrojové kódy

Ombi homepage item "Item limit" setting does not change the number of items displayed on the homepage (#1324)

CauseFX před 6 roky
rodič
revize
a9ef5acc1c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      api/functions/homepage-connect-functions.php

+ 1 - 1
api/functions/homepage-connect-functions.php

@@ -52,7 +52,7 @@ function homepageConnect($array)
 			return getCalendar();
 			return getCalendar();
 			break;
 			break;
 		case 'getRequests':
 		case 'getRequests':
-			return getOmbiRequests($GLOBALS['ombiLimit']);
+			return getOmbiRequests('both', $GLOBALS['ombiLimit']);
 			break;
 			break;
 		case 'getHealthChecks':
 		case 'getHealthChecks':
 			return (qualifyRequest($GLOBALS['homepageHealthChecksAuth'])) ? getHealthChecks($array['data']['tags']) : false;
 			return (qualifyRequest($GLOBALS['homepageHealthChecksAuth'])) ? getHealthChecks($array['data']['tags']) : false;