[Bug 30064] New: Dates in issues table on subscriptions tab in OPAC are not sorting correctly
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30064 Bug ID: 30064 Summary: Dates in issues table on subscriptions tab in OPAC are not sorting correctly Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org The publication date and received date columns in the issues table in the OPAC are not sorting correctly. To recreate: - Create a subscription - Receive mulitple issues, manipulate the published and received dates to be in different months and years - Open the record in the OPAC and switch to the subscription tab - The sorting on top of the table indicates that it should be sorted by publication date - Verify it is not sorted correctly, also not after clicking on the column header -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30064 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30064 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janet.mcgowan@ptfs-europe.c | |om --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- *** Bug 28997 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30064 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Janet McGowan from comment #0)
Similar to the issues reported in Bug 27934, the subscription table is not sorting correctly. In opac-detail.tt
<td class="publisheddate"><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td> <td class="planneddate"><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
If these lines are changed to use data-order instead as per: <td data-order="[% reserveloo.waitingdate | html %]">[% reserveloo.waitingdate | $KohaDates %]</td> <td data-order="[% reserveloo.reservedate | html %]">[% reserveloo.reservedate | $KohaDates %]</td>
they sort correctly.
-- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org