From 9b435b4be0c844b9d4e305a56d410b44ed822a0f 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 Content-Type: text/plain; charset=utf-8 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 --- C4/Breeding.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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" ', -- 1.7.7.6