|
Lines 69-84
my $searchtype = $input->param('searchtype');
Link Here
|
| 69 |
|
69 |
|
| 70 |
$template->param( 'alphabet' => C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' ); |
70 |
$template->param( 'alphabet' => C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' ); |
| 71 |
|
71 |
|
|
|
72 |
my $branchcode_filter = scalar $input->param('branchcode_filter'); |
| 73 |
my $categorycode_filter = scalar $input->param('categorycode_filter'); |
| 74 |
|
| 72 |
$template->param( |
75 |
$template->param( |
| 73 |
patron_lists => [ GetPatronLists() ], |
76 |
patron_lists => [ GetPatronLists() ], |
| 74 |
searchmember => $searchmember, |
77 |
searchmember => $searchmember, |
| 75 |
branchcode_filter => scalar $input->param('branchcode_filter'), |
78 |
branchcode_filter => $branchcode_filter, |
| 76 |
categorycode_filter => scalar $input->param('categorycode_filter'), |
79 |
categorycode_filter => $categorycode_filter, |
| 77 |
searchtype => $searchtype, |
80 |
searchtype => $searchtype, |
| 78 |
searchfieldstype => $searchfieldstype, |
81 |
searchfieldstype => $searchfieldstype, |
| 79 |
PatronsPerPage => C4::Context->preference("PatronsPerPage") || 20, |
82 |
PatronsPerPage => C4::Context->preference("PatronsPerPage") || 20, |
| 80 |
circsearch => $circsearch, |
83 |
circsearch => $circsearch, |
| 81 |
defer_loading => $searchmember ? 0 : 1, |
84 |
defer_loading => ( $searchmember || $branchcode_filter || $categorycode_filter ) ? 0 : 1, |
| 82 |
); |
85 |
); |
| 83 |
|
86 |
|
| 84 |
output_html_with_http_headers $input, $cookie, $template->output; |
87 |
output_html_with_http_headers $input, $cookie, $template->output; |
| 85 |
- |
|
|