Bug 28997

Summary: Subscription table sorting in the opac
Product: Koha Reporter: Janet McGowan <janet.mcgowan>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt
Version: 20.11   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Janet McGowan 2021-09-10 13:53:39 UTC
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.
Comment 1 Katrin Fischer 2023-07-01 13:49:43 UTC

*** This bug has been marked as a duplicate of bug 30064 ***