https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18396

--- Comment #1 from Owen Leonard <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/

Reply via email to