Bug 12088: Improve date handling and sorting in holds to pull report
authorOwen Leonard <oleonard@myacpl.org>
Tue, 15 Apr 2014 16:15:41 +0000 (12:15 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 28 Apr 2014 18:31:29 +0000 (18:31 +0000)
commit9a9a05aee80f9dad8fb6a00ae5f9195521b86a6e
tree52115e6b68866fedb6a709090fa01404f399d103
parentab94355f91a12fb9c4d8b78b3c5cb359a0dbfd3d
Bug 12088: Improve date handling and sorting in holds to pull report

The holds to pull report could be improved by improving sorting on the
title and date columns. This patch adds "anti-the" sorting to the title
column and "title-string" sorting to the date column.

Date formatting of another variable has been moved to the template for
formatting using KohaDates.

The patch includes other corrections for HTML validity.

To test, apply the patch and view the holds to pull report.
 - Sorting by date should work correctly regardless of dateformat system
   preference setting.
 - Sorting of the title columns should correctly ignore articles.
 - Formatting of the "Reported on" date should be correct.

Revision incorporates the corrections made by Bug 12127 and converts
those changes to use class-based sorting.

Signed-off-by: David Cook <dcook@prosentient.com.au>
The patch works as described. Thanks for including and improving the
changes from Bug 12127, Owen!

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes QA script and tests.
No regressions found, works as advertised.

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