diff --git a/lib/Constants.php b/lib/Constants.php index b72d9e96..22066292 100644 --- a/lib/Constants.php +++ b/lib/Constants.php @@ -40,7 +40,7 @@ const SORT_LENGTH = 'length'; const COVER_THUMBNAIL_HEIGHT = 350; const COVER_THUMBNAIL_WIDTH = 350; -const COVER_ARTWORK_PER_PAGE = 50; +const COVER_ARTWORK_PER_PAGE = 20; const COVER_ARTWORK_STATUS_APPROVED = 'approved'; const COVER_ARTWORK_STATUS_DECLINED = 'declined'; const COVER_ARTWORK_STATUS_IN_USE = 'in_use'; diff --git a/www/artworks/index.php b/www/artworks/index.php index e34fe31c..6d3b9df4 100644 --- a/www/artworks/index.php +++ b/www/artworks/index.php @@ -17,7 +17,7 @@ if($page <= 0){ $page = 1; } -if($perPage != COVER_ARTWORK_PER_PAGE && $perPage != 100 && $perPage != 200){ +if($perPage != COVER_ARTWORK_PER_PAGE && $perPage != 40 && $perPage != 80){ $perPage = COVER_ARTWORK_PER_PAGE; } @@ -104,9 +104,9 @@ if($perPage !== COVER_ARTWORK_PER_PAGE){ Per page