From 40e991eb37df35834e44132f35c42e0dcaf7d66b Mon Sep 17 00:00:00 2001 From: Simon Flack Date: Thu, 21 Oct 2004 13:30:55 +0000 Subject: [PATCH] Fixed ordering with pager git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@250 48953598-375a-da11-a14b-00016c27c3ee --- templates/factory/pager | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/factory/pager b/templates/factory/pager index 558da84..bb78138 100644 --- a/templates/factory/pager +++ b/templates/factory/pager @@ -26,6 +26,10 @@ IF pager AND pager.first_page != pager.last_page; ELSE; SET label = num; SET args = "?page=" _ num; + SET args = args _ "&order=" _ request.query.order + IF request.query.order; + SET args = args _ "&o2=desc" + IF request.query.o2 == "desc"; SET action = "list"; FOR col = classmetadata.columns.list; IF request.query.$col; -- 2.39.5