Lines 29-48
use C4::Category;
Link Here
|
29 |
my $query = new CGI; |
29 |
my $query = new CGI; |
30 |
my $quicksearch = $query->param('quicksearch'); |
30 |
my $quicksearch = $query->param('quicksearch'); |
31 |
my $branch = $query->param('branchcode'); |
31 |
my $branch = $query->param('branchcode'); |
32 |
my ($template, $loggedinuser, $cookie); |
|
|
33 |
my $template_name; |
32 |
my $template_name; |
34 |
|
33 |
|
35 |
if($quicksearch){ |
34 |
my ($template, $loggedinuser, $cookie) |
36 |
($template, $loggedinuser, $cookie) |
|
|
37 |
= get_template_and_user({template_name => "members/member-quicksearch.tmpl", |
38 |
query => $query, |
39 |
type => "intranet", |
40 |
authnotrequired => 0, |
41 |
flagsrequired => {borrowers => 1}, |
42 |
debug => 1, |
43 |
}); |
44 |
} else { |
45 |
($template, $loggedinuser, $cookie) |
46 |
= get_template_and_user({template_name => "members/member.tmpl", |
35 |
= get_template_and_user({template_name => "members/member.tmpl", |
47 |
query => $query, |
36 |
query => $query, |
48 |
type => "intranet", |
37 |
type => "intranet", |
Lines 83-89
if($no_categories && C4::Context->preference("AddPatronLists")=~/code/){
Link Here
|
83 |
$template->param(categories=>\@categories); |
72 |
$template->param(categories=>\@categories); |
84 |
} |
73 |
} |
85 |
|
74 |
|
86 |
|
|
|
87 |
$template->param( |
75 |
$template->param( |
88 |
"AddPatronLists_".C4::Context->preference("AddPatronLists")=> "1", |
76 |
"AddPatronLists_".C4::Context->preference("AddPatronLists")=> "1", |
89 |
no_add => $no_add, |
77 |
no_add => $no_add, |