Lines 69-75
if (!$do_it && C4::Context->userenv && C4::Context->userenv->{'branch'} ) {
Link Here
|
69 |
} |
69 |
} |
70 |
my $itemtype = $input->param('itemtype') || ''; |
70 |
my $itemtype = $input->param('itemtype') || ''; |
71 |
my $timeLimit = $input->param('timeLimit') || 3; |
71 |
my $timeLimit = $input->param('timeLimit') || 3; |
72 |
my $advanced_search_types = C4::Context->preference('AdvancedSearchTypes'); |
72 |
|
|
|
73 |
#Preliminary fix for bug 12136 with pipe chars in AdvancedSearchTypes |
74 |
my $raw_advanced_search_types = C4::Context->preference('AdvancedSearchTypes'); |
75 |
my $advanced_search_types = 'itemtypes'; |
76 |
if ('ccode' =~ $raw_advanced_search_types) { |
77 |
$advanced_search_types ='ccode'; |
78 |
} |
73 |
|
79 |
|
74 |
my $whereclause = ''; |
80 |
my $whereclause = ''; |
75 |
$whereclause .= ' AND items.homebranch='.$dbh->quote($branch) if ($branch); |
81 |
$whereclause .= ' AND items.homebranch='.$dbh->quote($branch) if ($branch); |
76 |
- |
|
|