Lines 68-74
my $searchfieldstype = $input->param('searchfieldstype') || 'standard';
Link Here
|
68 |
|
68 |
|
69 |
$template->param( 'alphabet' => C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' ); |
69 |
$template->param( 'alphabet' => C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' ); |
70 |
|
70 |
|
71 |
my $view = $input->request_method() eq "GET" && !$circsearch ? "show_form" : "show_results"; |
71 |
my $defer_loading = $input->request_method() eq "GET" && !$circsearch ? 1 : 0; |
72 |
|
72 |
|
73 |
$template->param( |
73 |
$template->param( |
74 |
patron_lists => [ GetPatronLists() ], |
74 |
patron_lists => [ GetPatronLists() ], |
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 |
view => $view, |
81 |
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') ] |