Summary: | Dates sorting incorrectly in opac-account.tt | ||
---|---|---|---|
Product: | Koha | Reporter: | Liz Rea <liz> |
Component: | OPAC | Assignee: | Liz Rea <liz> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | minor | ||
Priority: | P5 - low | CC: | alex.arnaud, fridolin.somers, martin.renvoize, nick, veron |
Version: | Main | Keywords: | Academy |
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 19338 - Dates sorting incorrectly in opac-account.tt
Bug 19338 - followup - missing span Bug 19338 - Dates sorting incorrectly in opac-account.tt Bug 19338 - Dates sorting incorrectly in opac-account.tt Bug 19338 - Dates sorting incorrectly in opac-account.tt |
Description
Liz Rea
2017-09-19 03:42:39 UTC
Created attachment 67195 [details] [review] Bug 19338 - Dates sorting incorrectly in opac-account.tt To test: Find an account with lots of fines/payments load up the borrower's account in the OPAC note that the sort on the dates sorts by day, and not by date. apply this patch reload the page, note that the sort on the dates is now correct. Created attachment 67196 [details] [review] Bug 19338 - followup - missing span Oops, missed a span. With patch applied dates do not sort at all. I think it is because of line 105 in opac-account.tt: <td><span title="[% account.date %]">[% ACCOUNT_LINE.date | $KohaDates %]</td> account.date should be: ACCOUNT_LINE.date Created attachment 67582 [details] [review] Bug 19338 - Dates sorting incorrectly in opac-account.tt To test: Find an account with lots of fines/payments load up the borrower's account in the OPAC note that the sort on the dates sorts by day, and not by date. apply this patch reload the page, note that the sort on the dates is now correct. Created attachment 67801 [details] [review] Bug 19338 - Dates sorting incorrectly in opac-account.tt To test: Find an account with lots of fines/payments load up the borrower's account in the OPAC note that the sort on the dates sorts by day, and not by date. apply this patch reload the page, note that the sort on the dates is now correct. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Created attachment 70154 [details] [review] Bug 19338 - Dates sorting incorrectly in opac-account.tt To test: Find an account with lots of fines/payments load up the borrower's account in the OPAC note that the sort on the dates sorts by day, and not by date. apply this patch reload the page, note that the sort on the dates is now correct. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Pushed to master for 18.05, thanks to everybody involved! Awesome work all, pushed to stable for 17.11.02 Pushed to 17.05.x for v17.05.08 |