From d13d96614b7008e37bcb45106b65862548818218 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tom=C3=A1s=20Cohen=20Arazi?= Date: Wed, 17 Nov 2010 09:43:10 -0500 Subject: [PATCH] Bug 5412 double quotes break coins and thus search results in some scenarios Signed-off-by: Owen Leonard Signed-off-by: Chris Cormack --- C4/Biblio.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 81ccfbb997..6a422be0c8 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -1198,6 +1198,7 @@ sub GetCOinSBiblio { my $coins_value = "ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3A$mtx$genre$title&rft.isbn=$isbn&rft.issn=$issn&rft.aulast=$aulast&rft.aufirst=$aufirst$oauthors&rft.pub=$publisher&rft.date=$pubyear"; $coins_value =~ s/(\ |&[^a])/\+/g; + $coins_value =~ s/\"/\"\;/g; #&rft.au=&rft.btitle=&rft.date=&rft.pages=&rft.isbn=&rft.aucorp=&rft.place=&rft.pub=&rft.edition=&rft.series=&rft.genre=" -- 2.39.5