From 4218fa64e84d891635eddd8d1c579247c34d4fba Mon Sep 17 00:00:00 2001 From: rangi Date: Tue, 7 Mar 2006 20:32:52 +0000 Subject: [PATCH] Barcode search --- C4/SearchMarc.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/C4/SearchMarc.pm b/C4/SearchMarc.pm index 3db9477389..074a3bf1d8 100644 --- a/C4/SearchMarc.pm +++ b/C4/SearchMarc.pm @@ -232,6 +232,10 @@ sub catalogsearch { $query.="Subject all \"@$value[$i]\""; } elsif ($field eq 'biblioitems.itemtype'){ $query="Itemtype=@$value[$i]"; + } elsif ($field eq 'items.homebranch'){ + $query="Branch=@$value[$i]"; + } elsif ($field eq 'items.barcode'){ + $query="Barcode=@$value[$i]"; } else { warn $field; my @spacedout=split(/ /,@$value[$i]); -- 2.39.5