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)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Sun, 12 Jul 2020 22:07:41 +0000 (10:07 +1200)
commit99a27050d84281643f40bbdb5d0adb4edbf32e15
treee5395a1c0b4845eb86b2cc22947518faffc60651
parentf208817b13636e0b4746b1bfe5d5e5a13de39b88
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>
cataloguing/additem.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt