Koha/svc
Dobrica Pavlinusic b8fae8489f 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

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested with different due dates (hourly and not) and different date formats.
Passes tests and QA script.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-09-16 15:17:53 -03:00
..
config Bug 9827: remove 'insecure' system preference 2013-03-19 21:46:34 -04:00
members Bug 12833: Patron search should search on extended attributes 2014-09-09 10:08:59 -03:00
authentication Fix FSF address in directory svc/ 2010-03-16 20:17:51 -04:00
bib Bug 7729 : svc/bib: support appending ?items=1 to the URL to fetch or modify items 2012-03-29 16:52:04 +02:00
bib_profile Fix FSF address in directory svc/ 2010-03-16 20:17:51 -04:00
checkin Bug 12662: (follow-up) Ajax-based check in does not work for some system preference settings enabled 2014-07-30 14:29:29 -03:00
checkouts Bug 12729 - Overdue items won't show as overdue in red in circulation 2014-09-16 15:17:53 -03:00
cover_images Bug 7813: (follow-up) improvements for deleting local cover images 2013-09-21 18:11:13 +00:00
holds Bug 11703: (qa followup) consistency in svc 2014-07-03 12:38:13 -03:00
import_bib Bug 9908 - Fixing OCLC Connexion Client 2013-03-29 21:29:10 -04:00
letters Bug 11742: A letter code should be unique. 2014-06-23 15:19:55 -03:00
new_bib Bug 7729 : svc/new_bib: support ?items=1 to add POSTed items to the new biblio too 2012-07-17 18:12:09 +02:00
renew Bug 11703: (qa followup) consistency in svc 2014-07-03 12:38:13 -03:00
report Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00