From 7a967161dcf181008bbc175aabd021ca9c495522 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 19 Aug 2013 14:44:08 +0000 Subject: [PATCH] bug 9916: (follow-up) restore default sort order for OPAC search history To test: [1] Go to the search history page on the OPAC. [2] Verify that the searches are sorted in order of decreasing time. Signed-off-by: Galen Charlton --- koha-tmpl/opac-tmpl/prog/en/modules/opac-search-history.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-search-history.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-search-history.tt index 27c940ef83..904254336d 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-search-history.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-search-history.tt @@ -11,7 +11,7 @@ // We show table ordered by descending dates by default // (so that the more recent query is shown first) $(".historyt").dataTable($.extend(true, {}, dataTablesDefaults, { - "aaSorting": [[ 0, "asc" ]], + "aaSorting": [[ 0, "desc" ]], "aoColumns": [ { "sType": "title-string" }, null, -- 2.39.5