From 6f45077848aafd4951f5e4c31335e8b219a2afe8 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Mon, 26 May 2008 16:37:06 +0200 Subject: [PATCH] Adding search on ISSN for z3950_search.pl seems that search on ISSN was not taken into account adding @or @attr 1=8 Signed-off-by: Joshua Ferraro --- cataloguing/z3950_search.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/z3950_search.pl b/cataloguing/z3950_search.pl index 6eef8d41df..ed659e60a6 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) { -- 2.39.5