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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-1 / +5 lines)
Lines 691-696 Link Here
691
            }, typeof table_settings !== 'undefined' ? table_settings : null, 1, additional_filters);
691
            }, typeof table_settings !== 'undefined' ? table_settings : null, 1, additional_filters);
692
692
693
            $("#patron_search_form").on('submit', filter);
693
            $("#patron_search_form").on('submit', filter);
694
            $("#patron_search_form").on('submit', update_search_type);
694
            $(".filterByLetter").on("click",function(e){
695
            $(".filterByLetter").on("click",function(e){
695
                e.preventDefault();
696
                e.preventDefault();
696
                filterByFirstLetterSurname($(this).text(), true);
697
                filterByFirstLetterSurname($(this).text(), true);
Lines 750-755 Link Here
750
            }
751
            }
751
        }
752
        }
752
753
754
        function update_search_type(){
755
            $("#searchtype").val($("#searchtype_filter").val());
756
        }
757
753
        function update_search_description(){
758
        function update_search_description(){
754
            var searched = $("#searchfieldstype_filter").find("option:selected").text();
759
            var searched = $("#searchfieldstype_filter").find("option:selected").text();
755
            if ( $("#search_patron_filter").val() ) {
760
            if ( $("#search_patron_filter").val() ) {
756
- 

Return to bug 34106