From f06783ee41b8a55a987a353228495d044cc06be7 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 17 Apr 2013 14:07:55 -0400 Subject: [PATCH] Bug 10072 - "my suggestions" always says "There are no pending purchase suggestions." Test Plan: 1) Switch off the IndependantBranches syspref 2) Log into the OPAC 3) Place a suggestions 4) Instead of seeing your suggestion, you will see "There are no pending purchase suggestions." 5) Apply this patch 6) Reload the page 7) You should now see your suggestions Signed-off-by: Chris Cormack Signed-off-by: Jonathan Druart --- C4/Suggestions.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm index 131f117..c55968a 100644 --- a/C4/Suggestions.pm +++ b/C4/Suggestions.pm @@ -149,10 +149,6 @@ sub SearchSuggestion { push @sql_params, $suggestion->{branchcode}; push @query, qq{ AND suggestions.branchcode=? }; } - } else { - push @query, qq{ - AND (suggestions.branchcode='' OR suggestions.branchcode IS NULL) - }; } } -- 1.7.10.4