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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-4 / +4 lines)
Lines 249-258 Link Here
249
        var Sticky;
249
        var Sticky;
250
        var singleBranchMode = '[% singleBranchMode | html %]';
250
        var singleBranchMode = '[% singleBranchMode | html %]';
251
        let logged_in_library_id = "[% Branches.GetLoggedInBranchcode | html %]";
251
        let logged_in_library_id = "[% Branches.GetLoggedInBranchcode | html %]";
252
        [% IF defer_loading %]
252
        [% IF do_not_defer_loading %]
253
            let defer_loading = 1;
254
        [% ELSE %]
255
            let defer_loading = 0;
253
            let defer_loading = 0;
254
        [% ELSE %]
255
            let defer_loading = 1;
256
        [% END %]
256
        [% END %]
257
257
258
        /* popstate event triggered by forward and back button. Need to refresh search */
258
        /* popstate event triggered by forward and back button. Need to refresh search */
Lines 670-676 Link Here
670
                $("#searchpattern").parent().hide();
670
                $("#searchpattern").parent().hide();
671
            });
671
            });
672
672
673
            if ( !defer_loading && $("#search_patron_filter").val().length > 0 ) {
673
            if ( !defer_loading ) {
674
                $("#patron_search_form").submit();
674
                $("#patron_search_form").submit();
675
            }
675
            }
676
676
(-)a/members/member.pl (-1 / +1 lines)
Lines 78-84 $template->param( Link Here
78
    searchtype          => scalar $input->param('searchtype') || 'contain',
78
    searchtype          => scalar $input->param('searchtype') || 'contain',
79
    searchfieldstype    => $searchfieldstype,
79
    searchfieldstype    => $searchfieldstype,
80
    PatronsPerPage      => C4::Context->preference("PatronsPerPage") || 20,
80
    PatronsPerPage      => C4::Context->preference("PatronsPerPage") || 20,
81
    defer_loading       => $defer_loading,
81
    do_not_defer_loading => !$defer_loading,
82
    circsearch          => $circsearch,
82
    circsearch          => $circsearch,
83
    attribute_type_codes => ( C4::Context->preference('ExtendedPatronAttributes')
83
    attribute_type_codes => ( C4::Context->preference('ExtendedPatronAttributes')
84
        ? [ Koha::Patron::Attribute::Types->search( { staff_searchable => 1 } )->get_column('code') ]
84
        ? [ Koha::Patron::Attribute::Types->search( { staff_searchable => 1 } )->get_column('code') ]
(-)a/members/members-home.pl (-2 lines)
Lines 76-82 $template->param( Link Here
76
    attribute_type_codes => ( C4::Context->preference('ExtendedPatronAttributes')
76
    attribute_type_codes => ( C4::Context->preference('ExtendedPatronAttributes')
77
        ? [ Koha::Patron::Attribute::Types->search( { staff_searchable => 1 } )->get_column('code') ]
77
        ? [ Koha::Patron::Attribute::Types->search( { staff_searchable => 1 } )->get_column('code') ]
78
        : [] ),
78
        : [] ),
79
    defer_loading => 1,
80
);
79
);
81
80
82
output_html_with_http_headers $query, $cookie, $template->output;
81
output_html_with_http_headers $query, $cookie, $template->output;
83
- 

Return to bug 30485