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

(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-3 / +5 lines)
Lines 587-596 function _dt_default_ajax(params) { Link Here
587
                            coded_datatype &&
587
                            coded_datatype &&
588
                            coded_datatype.length > 1
588
                            coded_datatype.length > 1
589
                        ) {
589
                        ) {
590
                            if (global_search.length) {
590
                            if (global_search.length || value.length) {
591
                                coded_datatype = coded_datatype[1];
591
                                coded_datatype = coded_datatype[1];
592
                                const search_value = value.length
593
                                    ? value
594
                                    : global_search;
592
                                const regex = new RegExp(
595
                                const regex = new RegExp(
593
                                    `^${global_search}`,
596
                                    `^${search_value}`,
594
                                    "i"
597
                                    "i"
595
                                );
598
                                );
596
                                if (
599
                                if (
597
- 

Return to bug 39011