Bug 25553: Make date columns sortable on the edit items table
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 22 May 2020 09:02:39 +0000 (11:02 +0200)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Thu, 23 Jul 2020 20:24:05 +0000 (22:24 +0200)
commit3b4064ca8ead9279f5e2ef3e78c5bff7f6aa4466
treebd4b5c2b0c66aa6a337d0a7b374b00c44f89f68c
parentf15a24c62020d893f89f6db2a5e13b759daf1847
Bug 25553: Make date columns sortable on the edit items table

When editing items, the table at the top contain several columns that
have date values, but they cannot be sorted by dates correctly.

Test plan:
Have several items with different dates in columns that contain dates,
like items.dateaccessioned, items.datelastseen)
Sort the column and confirm that with this patch the lines are sorted
correctly

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 31800ba46b2ed03cc2e4431c4d3c56fce678a0ec)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ca74f037d83a7c406f187bdfe77cbed7b2f4aade)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
(cherry picked from commit 99a27050d84281643f40bbdb5d0adb4edbf32e15)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
cataloguing/additem.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt