From 3713f2c715964614a681f72660bdaa15b0ddc0ae 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) Log into the OPAC 2) Place a suggestions 3) Instead of seeing your suggestion, you will see "There are no pending purchase suggestions." 4) Apply this patch 5) Reload the page 6) You should now see your suggestions 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 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