Lines 65-80
if ( $quicksearch and $searchmember && !$circsearch ) {
Link Here
|
65 |
} |
65 |
} |
66 |
|
66 |
|
67 |
my $searchfieldstype = $input->param('searchfieldstype') || 'standard'; |
67 |
my $searchfieldstype = $input->param('searchfieldstype') || 'standard'; |
|
|
68 |
my $branchcode_filter = $input->param('branchcode_filter') // ''; |
69 |
my $categorycode_filter = $input->param('categorycode_filter') // ''; |
68 |
|
70 |
|
69 |
$template->param( 'alphabet' => C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' ); |
71 |
$template->param( 'alphabet' => C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' ); |
70 |
|
72 |
|
71 |
my $defer_loading = $input->request_method() eq "GET" && !$circsearch ? 1 : 0; |
73 |
my $defer_loading = $input->request_method() eq "GET" && !$circsearch ? 1 : 0; |
|
|
74 |
if ($branchcode_filter ne '' || $categorycode_filter ne '') { |
75 |
$defer_loading = 0; |
76 |
} |
72 |
|
77 |
|
73 |
$template->param( |
78 |
$template->param( |
74 |
patron_lists => [ GetPatronLists() ], |
79 |
patron_lists => [ GetPatronLists() ], |
75 |
searchmember => $searchmember, |
80 |
searchmember => $searchmember, |
76 |
branchcode_filter => scalar $input->param('branchcode_filter'), |
81 |
branchcode_filter => $branchcode_filter, |
77 |
categorycode_filter => scalar $input->param('categorycode_filter'), |
82 |
categorycode_filter => $categorycode_filter, |
78 |
searchfieldstype => $searchfieldstype, |
83 |
searchfieldstype => $searchfieldstype, |
79 |
PatronsPerPage => C4::Context->preference("PatronsPerPage") || 20, |
84 |
PatronsPerPage => C4::Context->preference("PatronsPerPage") || 20, |
80 |
do_not_defer_loading => !$defer_loading, |
85 |
do_not_defer_loading => !$defer_loading, |
81 |
- |
|
|