From 74b4355cfda5008578e9b787e8f37171c4b28526 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 Signed-off-by: Chris Cormack --- C4/Suggestions.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm index eedfcbd8b0..60cb1b7d8d 100644 --- a/C4/Suggestions.pm +++ b/C4/Suggestions.pm @@ -138,10 +138,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) - }; } } -- 2.39.5