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

(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-2 / +1 lines)
Lines 880-886 function _dt_add_filters(table_node, table_dt, filters_options = {}) { Link Here
880
                    // Compare with lc, or selfreg won't match ^SELFREG$ for instance, see bug 32517
880
                    // Compare with lc, or selfreg won't match ^SELFREG$ for instance, see bug 32517
881
                    // This is only for category, we might want to apply it only in this case.
881
                    // This is only for category, we might want to apply it only in this case.
882
                    existing_search = existing_search.toLowerCase()
882
                    existing_search = existing_search.toLowerCase()
883
                    if ( existing_search === this._id || (existing_search && this._id.match(existing_search)) ) {
883
                    if ( existing_search === this._id || (existing_search && this._id.toLowerCase().match(existing_search)) ) {
884
                        o.prop("selected", "selected");
884
                        o.prop("selected", "selected");
885
                    }
885
                    }
886
                    o.appendTo(select);
886
                    o.appendTo(select);
887
- 

Return to bug 33484