Bug 28997 - Subscription table sorting in the opac
Summary: Subscription table sorting in the opac
Status: RESOLVED DUPLICATE of bug 30064
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: 20.11
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-10 13:53 UTC by Janet McGowan
Modified: 2023-07-01 13:49 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***