Comment 4 for bug 1024614

Revision history for this message
Tihomir Trifonov (ttrifonov) wrote :

Ah, another interesting thing - when page_size = 1, then it returns 3 images, instead of 2.. There might be a good reason for that though. I've just made a simple test - if adding this:

    and seen <= page_size

in the if in `def paginate()`, seems to return 1 for page_size=1, and works for page_size=2 and 20(I've tested only with these).