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

(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-7 / +8 lines)
Lines 1035-1046 function _dt_add_filters(table_node, table_dt, filters_options = {}) { Link Here
1035
                    })
1035
                    })
1036
                    .each(function () {
1036
                    .each(function () {
1037
                        let optionValue = this._id;
1037
                        let optionValue = this._id;
1038
1038
                        if (table_dt.settings()[0].ajax !== null) {
1039
                        if (
1039
                            let tableId =
1040
                            table_dt.settings()[0].ajax !== null &&
1040
                                table_node && table_node.id
1041
                            table_node.attr("id") !== "item_search"
1041
                                    ? table_node.id
1042
                        ) {
1042
                                    : null;
1043
                            optionValue = `^${this._id}$`;
1043
                            if (tableId && tableId !== "item_search") {
1044
                                optionValue = `^${this._id}$`;
1045
                            }
1044
                        }
1046
                        }
1045
1047
1046
                        let o = $(
1048
                        let o = $(
1047
- 

Return to bug 40565