Bug 27926: Add 'title-string' for dates on circ-patron-results
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 11 Mar 2021 12:15:25 +0000 (12:15 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 15 Apr 2021 10:43:56 +0000 (12:43 +0200)
commit24f3cfd460fa8dd5a5c040711f2a259bd1cee1d4
treeffc60ffd3ea1f3287dd6643e277c43fe69707e58
parent9e4388038350e2651dbc4aaa0c782503b83dc71c
Bug 27926: Add 'title-string' for dates on circ-patron-results

This patch adds the title string sorting for the data of birth field in
the circulation patron results table.  This has the side effect of
adding a tooltip that displays the date of birth in ISO format, so I'm
not entirely sure it's the right approach.

Test plan
1/ Set your date format preferences to British English (dd-mm-yyyy)
2/ Do a search that will yield multiple patrons via "Check out"
3/ Try sorting on date of birth and not the order is incorrect.
4/ Apply the patch
5/ Refresh the page and try sorting on date again
6/ The order should now be correct
7/ Signoff

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit a1f5f363bc8c29f3374e4751599c420caa43ef9a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc