Added avail into the template parameters

This commit is contained in:
genjimoto 2005-06-03 04:15:29 +00:00
parent 09aec48554
commit 864ca6dd71

View file

@ -87,9 +87,13 @@ if ($op eq "do_search") {
$searchdesc .= 'filtered by itemtypes ';
$searchdesc .= join(" ",@itemtypes)
}
if ($branchesstring ne ''){
$searchdesc .= ' in branches ';
$searchdesc .= join(" ",@branches)
}
if ($avail ne ''){
$searchdesc .= '. Only available items shown.'
}
$resultsperpage= $query->param('resultsperpage');
$resultsperpage = 19 if(!defined $resultsperpage);
@ -352,6 +356,7 @@ $template->param( phraseorterm => $phraseorterm );
categorylist => $categorylist,
mediatypelist => $mediatypelist,
itemtypesstring => $itemtypesstring,
avail => $avail,
);
} else {