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 601-607 Link Here
601
                                "searchable": true,
601
                                "searchable": true,
602
                                "orderable": true,
602
                                "orderable": true,
603
                                "render": function( data, type, row, meta ) {
603
                                "render": function( data, type, row, meta ) {
604
                                    return data ? escape_str($date(data)) : "";
604
                                    return "<span class=\"dateexpiry" + (new Date(data) < new Date() ? ' expired' : '') + "\">" + (data ? escape_str($date(data)) : '') + "</span>";
605
                                }
605
                                }
606
                            }
606
                            }
607
                            [% CASE 'borrowernotes' %]
607
                            [% CASE 'borrowernotes' %]
608
- 

Return to bug 38315