[Koha-bugs] [Bug 11703] Convert checkouts table to ajax datatable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 18 10:39:03 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11703

M3ntoR <mmackiew at wsb.poznan.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmackiew at wsb.poznan.pl

--- Comment #191 from M3ntoR <mmackiew at wsb.poznan.pl> ---
Fix for red highlighting for overdue items

file checkouts.js:
In tag $("#issues-table").dataTable... date form mySQL database is not parsed.
Quick fix for it is change 
  var due = new Date( oObj.date_due )
into
  var t = oObj.date_due.split(/[- :]/);
  var due = new Date(t[0], t[1]-1, t[2], t[3], t[4], t[5]);

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list