From 34d7c4bcaab8a5e250aa90a47124f76d81f6a94f 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 --- C4/Breeding.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Breeding.pm b/C4/Breeding.pm index f9dfdee..cf32bf4 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.1.0