[Koha-bugs] [Bug 18396] UK format dates not sorting correctly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 7 16:54:46 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18396
--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
My favorite method of avoiding date parsing nightmares when sorting is to use
the "title-string" option for DataTables.
\koha-tmpl\intranet-tmpl\prog\en\modules\admin\currency.tt:
30 "columnDefs": [
31 { "aTargets": [ -1 ], "bSortable": false, "bSearchable":
false },
32: { "sType": "title-string", "aTargets" : [ "title-string"
] }
33 ],
34 }, columns_settings );
..
208 <th>Symbol</th>
209 <th>ISO code</th>
210: <th class="title-string">Last updated</th>
211 <th>Active</th>
212 <th>Archived</th>
..
223 <td><span title="[% currency.timestamp %]">[% currency.timestamp |
$KohaDates %]</span></td>
I don't know if that solution would work with the checkouts table.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list