View | Details | Raw Unified | Return to bug 38315
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-2 / +1 lines)
Lines 603-609 Link Here
603
                                "searchable": true,
603
                                "searchable": true,
604
                                "orderable": true,
604
                                "orderable": true,
605
                                "render": function( data, type, row, meta ) {
605
                                "render": function( data, type, row, meta ) {
606
                                    return data ? escape_str($date(data)) : "";
606
                                    return "<span class=\"dateexpiry" + (new Date(data) < new Date() ? ' expired' : '') + "\">" + (data ? escape_str($date(data)) : '') + "</span>";
607
                                }
607
                                }
608
                            }
608
                            }
609
                            [% CASE 'borrowernotes' %]
609
                            [% CASE 'borrowernotes' %]
610
- 

Return to bug 38315