[Koha-bugs] [Bug 22385] Itemslost report does not sort date properly in uk format (dd/mm/yyyy)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 21 14:42:22 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22385

--- Comment #1 from José-Mario Monteiro-Santos <jose-mario.monteiro-santos at inlibro.com> ---
Created attachment 85446
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85446&action=edit
BUG 22385 - Itemslost report does not sort date properly in uk format
(dd/mm/yyyy)

As per the new coding guidelines, the date in
itemslost.tt should be formatted using the
KohaDates plugin.
Itemslost.pl now sends an unformatted date
to the template, so that the DataTable can
sort it properly in every Date Format

To test:
1. Set DateFormat to DD/MM/YYYY
2. Go to Reports - Items Lost and run the report
3. Click on the "Date last seen" header to sort
4. Notice that the dates are ordered by day
5. Apply patch
6. Reload the page / regenerate the report
7. Sort by "Date last seen"
8. Notice that the dates are properly sorted

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list