[Bug 22385] New: Itemslost report does not sort date properly in uk format (dd/mm/yyyy)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22385 Bug ID: 22385 Summary: Itemslost report does not sort date properly in uk format (dd/mm/yyyy) Change sponsored?: --- Product: Koha Version: 17.05 Hardware: All OS: All Status: ASSIGNED Severity: minor Priority: P5 - low Component: Reports Assignee: jose-mario.monteiro-santos@inlibro.com Reporter: jose-mario.monteiro-santos@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: philippe.blouin@inlibro.com Target Milestone: --- -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22385 José-Mario Monteiro-Santos <jose-mario.monteiro-santos@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22385 --- Comment #1 from José-Mario Monteiro-Santos <jose-mario.monteiro-santos@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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22385 Hayley Mapley <hayleymapley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hayleymapley@catalyst.net.n | |z Status|Needs Signoff |Failed QA --- Comment #2 from Hayley Mapley <hayleymapley@catalyst.net.nz> --- When I do steps 1-3 the dates appear to be in the correct order. Are you sure this patch is needed? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22385 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |RESOLVED Resolution|--- |FIXED CC| |katrin.fischer@bsz-bw.de --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- It appears this has already been fixed on master! <th class="title-string">Date last seen</th> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org