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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 Jul 2020 15:19:20 +0000 (15:19 +0000)
commitca74f037d83a7c406f187bdfe77cbed7b2f4aade
treeebe5feb7ab6fe6b247c6e49c7ac1b23e91df77e7
parentf918bee5f612b3eef54bd81999373ed023e737b4
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>
cataloguing/additem.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt