Lines 148-153
$template->param(
Link Here
|
148 |
my $languages_limit_loop = getAllLanguages(); |
148 |
my $languages_limit_loop = getAllLanguages(); |
149 |
$template->param(search_languages_loop => $languages_limit_loop,); |
149 |
$template->param(search_languages_loop => $languages_limit_loop,); |
150 |
|
150 |
|
|
|
151 |
# add support for searching by shelving location |
152 |
my @shelvinglocsloop; |
153 |
my $selected=1; |
154 |
my $cnt2; |
155 |
my $shelflocations =GetAuthorisedValues("LOC"); |
156 |
for my $thisloc (sort {$a->{'lib'} cmp $b->{'lib'}} @$shelflocations) { |
157 |
my %row =( |
158 |
number => $cnt2++, |
159 |
ccl => 'loc', |
160 |
code => $thisloc->{authorised_value}, |
161 |
selected => $selected, |
162 |
description => $thisloc->{'lib'}, |
163 |
count5 => $cnt2 % 4, |
164 |
); |
165 |
$selected = 0; # set to zero after first pass through |
166 |
push @shelvinglocsloop, \%row; |
167 |
} |
168 |
$template->param(shelvinglocsloop => \@shelvinglocsloop); |
151 |
# load the Type stuff |
169 |
# load the Type stuff |
152 |
my $itemtypes = GetItemTypes; |
170 |
my $itemtypes = GetItemTypes; |
153 |
# the index parameter is different for item-level itemtypes |
171 |
# the index parameter is different for item-level itemtypes |
154 |
- |
|
|