Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
Add upper limit to category feeds so large resultsets at least load
Browse files Browse the repository at this point in the history
  • Loading branch information
BPScott committed Mar 1, 2017
1 parent adf3234 commit a376ad5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ public function showSliceTleosByCategoryAction(
$programmesService = $this->get('pps.programmes_service');
switch ($slice) {
case 'all':
$programmes = $programmesService->findAllTleosByCategory($category, null);
$programmes = $programmesService->findAllTleosByCategory($category, 3000);
break;

case 'player':
$programmes = $programmesService->findAvailableTleosByCategory($category, null);
$programmes = $programmesService->findAvailableTleosByCategory($category, 3000);
break;
default:
throw $this->createNotFoundException("Slice does not exist");
Expand Down

0 comments on commit a376ad5

Please sign in to comment.