You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, the maxItems cannot be equal to or smaller than itemsPerPage. Finally I broke the items loop in the template, but it would be nice to refactor the logic of Pagination in the following line, so that we can show only maxItems of albums without paging!
Of course, further refactoring is required in the lines after, due to possible division by zero. But at the moment I don't have the time to analyze the whole method!
The text was updated successfully, but these errors were encountered:
Unfortunately, the
maxItems
cannot be equal to or smaller thanitemsPerPage
. Finally I broke the items loop in the template, but it would be nice to refactor the logic of Pagination in the following line, so that we can show only maxItems of albums without paging!contao-photoalbums2/system/modules/photoalbums2/classes/Pa2Pagination.php
Line 124 in 565b485
One solution would be:
Of course, further refactoring is required in the lines after, due to possible division by zero. But at the moment I don't have the time to analyze the whole method!
The text was updated successfully, but these errors were encountered: