From 2baa5fea2305536893ac53e7db552cd01a2bc2ee Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 24 Jan 2019 16:13:47 +0000 Subject: [PATCH] Bug 21845: Sort of issues in OPAC subscription table This patch adds a default sort option to the table of subscriptions on the OPAC detail page. This sorting option matches the sort of data passed from GetLatestSerials. To test, apply the patch and locate a subscription in the OPAC which has multiple issues. They should be sorted by default on publication date. Signed-off-by: mikael Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 46c1c76cb1..4d1c98a7d1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -1469,6 +1469,7 @@ KohaTable("#subscriptionst", { dom: '<"clearfix">t', + "sorting": [[ 1, "desc" ]], "columnDefs": [ { "type": "title-string", "targets" : [ "title-string" ] } ], -- 2.11.0