Bug #760
Previous and Next navigation inconvienence
| Status: | New | Start: | 08/29/2009 | |
| Priority: | Low | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | default extensions | |||
| Target version: | - | |||
Description
On the first and last images, the previous and next buttons are still enabled, thus if a new user clicks previous on the latest image instead of next, [s]he will land on an error page stating "No more images." (I've caught people looking at that page more than once lately).


There should only be one navigation button on the latest and last images to prevent this error.
History
Updated by Shish Moom 42 days ago
Sorry for not noticing this, my report-to-mail thing was broken for a while and some things slipped through >_<
--
Previously the links were checked for validity, but that was by running a possibly-complicated search query twice, when 90% of users won't use either link, 10% will use one link, and pretty much nobody uses both; thus the current approach of only checking when the user clicks, which cut database load by around 75%
If anyone can think of a way to check the validity of links without running the search query twice per page, proof of concept patches would be lovely :3