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

(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-2 / +1 lines)
Lines 837-843 function _dt_add_filters(table_node, table_dt, filters_options = {}) { Link Here
837
                input_type = 'select'
837
                input_type = 'select'
838
                let filter_type = $(this).data('filter');
838
                let filter_type = $(this).data('filter');
839
                let existing_search = table_dt.column(i).search();
839
                let existing_search = table_dt.column(i).search();
840
                let select = $('<select><option value=""></option></select');
840
                let select = $('<select class="dt-select-filter"><option value=""></option></select');
841
841
842
                // FIXME eval here is bad and dangerous, how do we workaround that?
842
                // FIXME eval here is bad and dangerous, how do we workaround that?
843
                if ( !filters_options.hasOwnProperty(i) ) {
843
                if ( !filters_options.hasOwnProperty(i) ) {
844
- 

Return to bug 34574