Adding a few more search options
This commit is contained in:
parent
c17b17f957
commit
b28675d959
1 changed files with 5 additions and 0 deletions
|
@ -228,7 +228,12 @@ sub catalogsearch {
|
||||||
$query .= "Title all \"".@$value[$i]."\"";
|
$query .= "Title all \"".@$value[$i]."\"";
|
||||||
} elsif ($field eq 'biblioitems.isbn') {
|
} elsif ($field eq 'biblioitems.isbn') {
|
||||||
$query .= "Isbn= ".@$value[$i];
|
$query .= "Isbn= ".@$value[$i];
|
||||||
|
} elsif ($field eq 'bibliosubject.subject'){
|
||||||
|
$query.="Subject all \"@$value[$i]\"";
|
||||||
|
} elsif ($field eq 'biblioitems.itemtype'){
|
||||||
|
$query="Itemtype=@$value[$i]";
|
||||||
} else {
|
} else {
|
||||||
|
warn $field;
|
||||||
my @spacedout=split(/ /,@$value[$i]);
|
my @spacedout=split(/ /,@$value[$i]);
|
||||||
my $text = join(" and ",@spacedout);
|
my $text = join(" and ",@spacedout);
|
||||||
$query .= "$text";
|
$query .= "$text";
|
||||||
|
|
Loading…
Reference in a new issue