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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Jun 2020 12:23:23 +0000 (14:23 +0200)
commit31800ba46b2ed03cc2e4431c4d3c56fce678a0ec
treea8c6851ac0f757f37008e47fabdafc38fb47c93b
parent477ae01ebd9d6fbe35f299378e352248cb34213d
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>
cataloguing/additem.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt