From 864ca6dd712c751bcdc0738a91834a14287aca54 Mon Sep 17 00:00:00 2001 From: genjimoto Date: Fri, 3 Jun 2005 04:15:29 +0000 Subject: [PATCH] Added avail into the template parameters --- opac/opac-search.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index aec973fd66..25d032117e 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -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 { -- 2.39.5