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

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

Return to bug 40565