https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32503
Katrin Fischer <katrin.fisc...@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oleon...@myacpl.org Status|ASSIGNED |NEW --- Comment #2 from Katrin Fischer <katrin.fisc...@bsz-bw.de> --- Usually this works: https://wiki.koha-community.org/wiki/DataTables_HowTo#Sorting_dates_regardless_of_date_format_preference But this was already implemented here: <td><span data-order="[% reserveloo.waitingdate | html %]">[% reserveloo.waitingdate | $KohaDates %]</span></td> <td><span data-order="[% reserveloo.reservedate | html %]">[% reserveloo.reservedate | $KohaDates %]</span></td> <td><span data-order="[% reserveloo.expirationdate | html %]">[% reserveloo.expirationdate | $KohaDates %]</span></td> And the source shows, it looks like we want it to: <td><span data-order="2022-12-28">28/12/2022</span></td> <td><span data-order="2022-12-28">28/12/2022</span></td> <td><span data-order="2023-03-03">03/03/2023</span></td> But... the sorting doesn't work. So I googled.... and came up with this: <th data-type="@data-sort"></th> which seems to do the trick. But as we use data-order a lot and this might affect other pages where this worked before, it definitely needs more investigation/someone more knowledgeable about datatables to have a look here. Tested 3 holds with the following dates: 02/02/2017 03/03/2017 08/02/2017 -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/