Open GoogleCodeExporter opened 9 years ago
The difficulty with that is that we often don't know the number of pages. We
could
add a "checkatleast" parameter so that we always know the number of pages if
it's
under 10, say. But unless we set checkatleast to the database size, there's
always
the possibility that direct links to pages won't actually work.
Probably a reasonable compromise is to have direct links to the first 10 pages
if
they exist, and to have direct links to earlier pages, and to have direct links
to
the next page (if there is one). So, if we're viewing page 5, and we know
there are
more than 100 results we'd have links to pages 1 - 10; if we're viewing page
15, and
we know there are more results, but only have an estimate as to how many, we'd
have
links to pages 1-16.
Original comment by boulton.rj@gmail.com
on 21 Dec 2007 at 10:18
Original comment by charliej...@gmail.com
on 27 Aug 2009 at 1:20
Original issue reported on code.google.com by
charliej...@gmail.com
on 21 Dec 2007 at 10:04