theCrag/website — Issue #381: Fix pagination logic with photos
Author: brendanheywood
Created: 2011-11-12 10:18:12+00:00
State: open
Labels: Bug

I've just reworked the area photo template:

http://dev.thecrag.com/area/11740915/photos?S=20

and afterwards realized the pagination is a bit busted if there is hidden images. The template assumes that is there are X items then each page will have Y items on it until we get to X which is not correct. It's not a major bug so I'm leaving it as is. If a photo or other item is hidden is just shouldn't appear in count at all.