Bug 13039 - Vendor search: sorting of "item count" and "biblio count" columns can...
authorOwen Leonard <oleonard@myacpl.org>
Tue, 7 Oct 2014 18:54:04 +0000 (14:54 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 19 Nov 2014 16:27:00 +0000 (13:27 -0300)
commitc134e2111c59e386510ca4c72fec8a019bc5a48e
treeedbc1651e1e313e6402b124458dc7dbff0b6b098
parentf7463f23207a25542ec05a44617844a4d1e1d067
Bug 13039 - Vendor search: sorting of "item count" and "biblio count" columns can be incorrect

On the vendor search results page if some cells contain textual data the
"item count" and "biblio count" columns will sort incorrectly. This
patch sets an explicit numeric sort on these columns. In doing so this
patch also changes the existing column sorting configuration to use
table header cell classes instead of sorting based on index.

This patch also corrects two instances of unescaped ampersands.

To test, search for a vendor which has multiple baskets, at least one of
which should contain canceled orders. Confirm that sorting by item
count, biblio count, date, and closed all work correctly.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
I have not been able to see the sorting problem, but the
patch causes no regression and everything seems to work nicely.
Passes QA script and tests.

http://bugs.koha-community.org/show_bug.cgi?id=12039
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt