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 576-585 function _dt_default_ajax(params) { Link Here
576
                            coded_datatype &&
576
                            coded_datatype &&
577
                            coded_datatype.length > 1
577
                            coded_datatype.length > 1
578
                        ) {
578
                        ) {
579
                            if (global_search.length) {
579
                            if (global_search.length || value.length) {
580
                                coded_datatype = coded_datatype[1];
580
                                coded_datatype = coded_datatype[1];
581
                                const search_value = value.length
582
                                    ? value
583
                                    : global_search;
581
                                const regex = new RegExp(
584
                                const regex = new RegExp(
582
                                    `^${global_search}`,
585
                                    `^${search_value}`,
583
                                    "i"
586
                                    "i"
584
                                );
587
                                );
585
                                if (
588
                                if (
586
- 

Return to bug 39011