From 4b0bd5a44f051a9cc4c20561fd7382c224deb30c 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: Jared Camins-Esakov (cherry picked from commit fd9534628b0234375688e031fc65d4aee3bbd091) Signed-off-by: Jared Camins-Esakov --- C4/Suggestions.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm index 131f117b07..c55968a29c 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) - }; } } -- 2.39.5