Bugzilla – Attachment 3626 Details for
Bug 6043
No suggestions showing when independant branches set to OFF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed off patch
0001-SIGNED-OFF-Bug-6043-SQL-error-when-IndependantBranch.patch (text/plain), 1.06 KB, created by
Katrin Fischer
on 2011-04-04 13:20:06 UTC
(
hide
)
Description:
Signed off patch
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2011-04-04 13:20:06 UTC
Size:
1.06 KB
patch
obsolete
>From 15e9cb6b21625fad49a006257be7f2ec7ca80252 Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Mon, 4 Apr 2011 15:14:16 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 6043: SQL error when IndependantBranches=ON on suggestion >Content-Type: text/plain; charset="utf-8" > >On suggestion page, when IndependantBranch=ON, the SQL built is wrong: >branchcode is ambiguous > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > C4/Suggestions.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm >index 9cb2c18..779cc7c 100644 >--- a/C4/Suggestions.pm >+++ b/C4/Suggestions.pm >@@ -127,7 +127,7 @@ sub SearchSuggestion { > if ($userenv) { > if (($userenv->{flags} % 2) != 1 && !$suggestion->{branchcode}){ > push @sql_params,$$userenv{branch}; >- push @query,q{ and (branchcode = ? or branchcode ='')}; >+ push @query,q{ and (suggestions.branchcode = ? or suggestions.branchcode ='')}; > } > } > } >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6043
:
3625
| 3626