Explorar o código

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

CauseFX %!s(int64=6) %!d(string=hai) anos
pai
achega
a9ef5acc1c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
 			break;
 		case 'getRequests':
-			return getOmbiRequests($GLOBALS['ombiLimit']);
+			return getOmbiRequests('both', $GLOBALS['ombiLimit']);
 			break;
 		case 'getHealthChecks':
 			return (qualifyRequest($GLOBALS['homepageHealthChecksAuth'])) ? getHealthChecks($array['data']['tags']) : false;