[Koha-bugs] [Bug 11059] Not possible to sort staged dates in metric format
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 22 17:11:05 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11059
--- Comment #8 from Owen Leonard <oleonard at myacpl.org> ---
I prefer the newer method where the DataTables plugin looks for an
ISO-formatted date in a title attribute. This means that we don't need any
logic around date format. See booksellers.tt for an example. In the DataTables
initialization configuration:
"aoColumns": [
null,null,null,null,null,null,{ "sType": "title-string" },{
"sType": "title-string" },null
],
...where "sType," the sorting type, is "title-string." This looks for a <span>
with a title attribute containing the unformatted date:
<td><span title="[% basket.creationdate %]">[% basket.creationdate |
$KohaDates %]</span></td>
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list