From b28675d959117659338289aed67222ead0d4b747 Mon Sep 17 00:00:00 2001 From: rangi Date: Mon, 6 Mar 2006 04:58:16 +0000 Subject: [PATCH] Adding a few more search options --- C4/SearchMarc.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/C4/SearchMarc.pm b/C4/SearchMarc.pm index c374679885..3db9477389 100644 --- a/C4/SearchMarc.pm +++ b/C4/SearchMarc.pm @@ -228,7 +228,12 @@ sub catalogsearch { $query .= "Title all \"".@$value[$i]."\""; } elsif ($field eq 'biblioitems.isbn') { $query .= "Isbn= ".@$value[$i]; + } elsif ($field eq 'bibliosubject.subject'){ + $query.="Subject all \"@$value[$i]\""; + } elsif ($field eq 'biblioitems.itemtype'){ + $query="Itemtype=@$value[$i]"; } else { + warn $field; my @spacedout=split(/ /,@$value[$i]); my $text = join(" and ",@spacedout); $query .= "$text"; -- 2.39.5