Thomas Hochstein 4e662bf17c Fix pagination and links for "stable archives".
* Fix core pagination for "stable archives".

  The current page will always be the current page,
  regardless of archive sorting order. Page 76 of
  86 pages will remain page 76, even if the archive
  sorting is changed; it won't become page 10.

* Fix pagination for "stable archives" in themes.

  Timeline and Bulletproof have pagination.
  Both need to swap the prev/next links for
  stable archives, as the sorting order has
  been reversed.

* Fix prev/next page links for stable archives.

  We shouldn't swap prev/next links for archive
  pages. With stable archives, the title page is
  the last page of the archive, not the first, so
  all other pages are "previos", and we should
  display it like that.

Cherry-picked from master.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 01:02:38 +02:00
..
2007-08-25 12:05:30 +00:00
2016-04-25 12:13:18 +02:00
2008-11-13 12:38:04 +00:00
2007-08-25 12:05:30 +00:00
2014-04-27 20:47:14 +02:00
2016-04-25 12:13:18 +02:00
2016-04-25 12:13:18 +02:00
2007-08-25 12:05:30 +00:00
2007-08-25 12:05:30 +00:00
2017-04-06 22:26:07 +02:00
2017-04-06 22:26:07 +02:00