]> git.koha-community.org Git - koha.git/commit
Bug 10794: fix sorting on billing date column in invoices table
authorOwen Leonard <oleonard@myacpl.org>
Mon, 9 Sep 2013 18:46:23 +0000 (14:46 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 9 Oct 2013 04:16:07 +0000 (04:16 +0000)
commit70f322bd86e9d2b070848de8543f9d6582ec4d02
tree4e1df6d9de6223c8b7529c7fd854784aeee84618
parent7edaaf407d24fa17bc3429468534a249a9f30900
Bug 10794: fix sorting on billing date column in invoices table

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.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Template only change, passes all tests and QA script.
Sorting of the billing column now works as expected.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt