Bugzilla – Attachment 19929 Details for
Bug 10449
Suggestions pending approval should count only suggestions of current branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10449 - Count suggestions without branch also
0002-Bug-10449-Count-suggestions-without-branch-also.patch (text/plain), 812 bytes, created by
Fridolin Somers
on 2013-07-24 14:55:03 UTC
(
hide
)
Description:
Bug 10449 - Count suggestions without branch also
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2013-07-24 14:55:03 UTC
Size:
812 bytes
patch
obsolete
>From 98d70d0a65c4121d8b5558e0476fb9367a10d7e9 Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Wed, 24 Jul 2013 16:54:05 +0200 >Subject: [PATCH 2/2] Bug 10449 - Count suggestions without branch also > >--- > C4/Suggestions.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm >index 3c31867..80c0a2d 100644 >--- a/C4/Suggestions.pm >+++ b/C4/Suggestions.pm >@@ -410,7 +410,7 @@ sub CountSuggestion { > }; > my @params = ($status); > unless ($userenv->{branch} eq 'NO_LIBRARY_SET') { >- $query .= q{ AND branchcode=? }; >+ $query .= q{ AND (branchcode='' OR branchcode=?) }; > push @params, $userenv->{branch}; > } > $sth = $dbh->prepare($query); >-- >1.7.10.4 >
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 10449
:
18885
|
18985
| 19929