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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +2 lines)
Lines 1438-1448 Note that permanent location is a code, and location may be an authval. Link Here
1438
1438
1439
                $('#hideResolved').on( "click", function() {
1439
                $('#hideResolved').on( "click", function() {
1440
                    // It would be great if we could pass null here but it gets stringified
1440
                    // It would be great if we could pass null here but it gets stringified
1441
                    concerns.DataTable().columns('3').search('special:undefined').draw();
1441
                    tickets.DataTable().columns('3').search('special:undefined').draw();
1442
                });
1442
                });
1443
1443
1444
                $('#showAll').on( "click", function() {
1444
                $('#showAll').on( "click", function() {
1445
                    concerns.DataTable().columns('3').search('').draw();
1445
                    tickets.DataTable().columns('3').search('').draw();
1446
                });
1446
                });
1447
            });
1447
            });
1448
        </script>
1448
        </script>
(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-2 / +2 lines)
Lines 582-592 jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { Link Here
582
582
583
                                    var parts = [];
583
                                    var parts = [];
584
                                    var attributes = col.data.split(':');
584
                                    var attributes = col.data.split(':');
585
                                    let special = value;
585
                                    for (var i=0;i<attributes.length;i++){
586
                                    for (var i=0;i<attributes.length;i++){
586
                                        var part = {};
587
                                        var part = {};
587
                                        var attr = attributes[i];
588
                                        var attr = attributes[i];
588
                                        let criteria = options.criteria;
589
                                        let criteria = options.criteria;
589
                                        if ( value === 'special:undefined' ) {
590
                                        if ( special === 'special:undefined' ) {
590
                                            value = null;
591
                                            value = null;
591
                                            criteria = "exact";
592
                                            criteria = "exact";
592
                                        }
593
                                        }
593
- 

Return to bug 31028