From 00290cf19d74e235b2a242f8470acddb51470718 Mon Sep 17 00:00:00 2001 From: btoumi Date: Thu, 29 Mar 2007 09:28:07 +0000 Subject: [PATCH] modify advanced search query structure : use 'or' instead of 'and' (you have no result if you use 'and') --- C4/Search.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index d3fbfca4a0..7d93c558d4 100755 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -725,8 +725,8 @@ sub buildQuery { # these are treated as AND elsif ($limit_query) { - $limit_query .= " and $limit" if $limit; - $limit_search_desc .= " and $limit" if $limit; + $limit_query .= " or $limit" if $limit; + $limit_search_desc .= " or $limit" if $limit; } # otherwise, there is nothing but the limit -- 2.39.5