From 3fa6bf051af4d84d78e6899ea35d18418652b79b Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 10 Sep 2014 13:27:20 +0200 Subject: [PATCH] Bug 12898 - Z39.50 title search doesn't work with multiple words This fixes regression introduced by Bug 6536 so that multiple words in title search will work. Test scenario: 1. try z39.50 search with more than one word 2. verify that no results apper 3. apply patch and re-run search 4. verify that there are results Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- C4/Breeding.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Breeding.pm b/C4/Breeding.pm index f9dfdee562..cf32bf4cce 100644 --- a/C4/Breeding.pm +++ b/C4/Breeding.pm @@ -235,7 +235,7 @@ sub _build_query { my $qry_build = { isbn => '@attr 1=7 @attr 5=1 "#term" ', issn => '@attr 1=8 @attr 5=1 "#term" ', - title => '@attr 1=4 #term ', + title => '@attr 1=4 "#term" ', author => '@attr 1=1003 "#term" ', dewey => '@attr 1=16 "#term" ', subject => '@attr 1=21 "#term" ', -- 2.39.5