[Koha-bugs] [Bug 12729] Overdue items won't show as overdue in red in circulation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 4 15:23:36 CEST 2014


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

--- Comment #7 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
Created attachment 31372
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31372&action=edit
Bug 12729 - Overdue items won't show as overdue in red in circulation

It seems that Firefox date parser doesn't like our dates which are
formatted in ISO format like "2014-08-06 00:00:00". This results in
missing red color in overdue dates.

So intead of munching different date formats and JavaScript (and having
to support different browers) this patch moves check for overdue dates
back to mysql and just transfers boolean value to JavaScript so it can
show correct class for date_due.

Test scenario:
1. find borrower with overdue checkouts
2. verify that all dates are black (and are in ISO format)
3. apply this patch
4. reload page and verify that overdue dates turned red

-- 
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