[Koha-patches] [PATCH] Adding search on ISSN for z3950_search.pl
Henri-Damien LAURENT
henridamien.laurent at biblibre.com
Mon May 26 16:37:06 CEST 2008
seems that search on ISSN was not taken into account adding @or @attr 1=8
---
cataloguing/z3950_search.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cataloguing/z3950_search.pl b/cataloguing/z3950_search.pl
index 6eef8d4..ed659e6 100755
--- a/cataloguing/z3950_search.pl
+++ b/cataloguing/z3950_search.pl
@@ -111,7 +111,7 @@ else {
if ($isbn || $issn) {
$term=$isbn if ($isbn);
$term=$issn if ($issn);
- $query .= " \@attr 1=7 \"$term\" ";
+ $query .= " \@or \@attr 1=8 \"$term\" \@attr 1=7 \"$term\" ";
$nterms++;
}
if ($title) {
--
1.5.4.3
More information about the Koha-patches
mailing list