Fixed bug #1013. Works for me, if someone can check.
This commit is contained in:
parent
20bb2896d6
commit
b65bf02b9c
1 changed files with 9 additions and 1 deletions
|
@ -130,7 +130,15 @@ if ($op eq "do_search") {
|
|||
if ($tag) {
|
||||
push @tags,$dbh->quote("$tag$subfield");
|
||||
} else {
|
||||
push @tags, $dbh->quote(substr($marc,0,4));
|
||||
if ($marc =~ /^(\d){3}(. -)(.)*/)
|
||||
{
|
||||
# The user is using the search catalogue part, more fields
|
||||
push @tags, $dbh->quote(substr($marc,0,4));
|
||||
}
|
||||
else
|
||||
{
|
||||
push @tags, $marc;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
push @tags, "";
|
||||
|
|
Loading…
Reference in a new issue