From ccdd94da6e84446731319307342891b69b81d315 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 9 Sep 2013 14:46:23 -0400 Subject: [PATCH] Bug 10794 - Sorting on billing date column in invoices table doesn't work This patch adds the sorting by title string option to the table of invoices. This allows column data to be sorted based on the ISO-formatted date rather than the formatted-for-display date. A "blank" (0000-00-00) date is added to cells which contain no date data. To test, view the Acquisitions Invoices page (acqui/invoices.pl) and confirm that the "Billing date" column is sorted correctly regardless of the dateformat system preference. http://bugs.koha-community.org/show_bug.cgi?id=10749 Signed-off-by: Srdjan Signed-off-by: Katrin Fischer Template only change, passes all tests and QA script. Sorting of the billing column now works as expected. --- .../prog/en/modules/acqui/invoices.tt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt index 40114ad..965fec5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt @@ -9,14 +9,11 @@