Lines 297-303
if ( $template_type eq 'advsearch' ) {
Link Here
|
297 |
# shouldn't appear on the first one, scan indexes should, adding a new |
297 |
# shouldn't appear on the first one, scan indexes should, adding a new |
298 |
# box should only appear on the last, etc. |
298 |
# box should only appear on the last, etc. |
299 |
my @search_boxes_array; |
299 |
my @search_boxes_array; |
300 |
my $search_boxes_count = C4::Context->preference("OPACAdvSearchInputCount") || 3; # FIXME: using OPAC sysprefs? |
300 |
my $search_boxes_count = 3; # begin whith 3 boxes |
301 |
# FIXME: all this junk can be done in TMPL using __first__ and __last__ |
301 |
# FIXME: all this junk can be done in TMPL using __first__ and __last__ |
302 |
for (my $i=1;$i<=$search_boxes_count;$i++) { |
302 |
for (my $i=1;$i<=$search_boxes_count;$i++) { |
303 |
# if it's the first one, don't display boolean option, but show scan indexes |
303 |
# if it's the first one, don't display boolean option, but show scan indexes |