Bugzilla – Attachment 32198 Details for
Bug 12955
The budget list always shows my funds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 12955: The "show my funds only" should be take into account
PASSED-QA-Bug-12955-The-show-my-funds-only-should-.patch (text/plain), 1.51 KB, created by
Katrin Fischer
on 2014-10-10 19:34:29 UTC
(
hide
)
Description:
[PASSED QA] Bug 12955: The "show my funds only" should be take into account
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-10-10 19:34:29 UTC
Size:
1.51 KB
patch
obsolete
>From 4e43bca0815dde3a71c33bcb4ead824dba4da575 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 18 Sep 2014 12:25:26 +0200 >Subject: [PATCH] [PASSED QA] Bug 12955: The "show my funds only" should be > take into account > >The "Show my funds only" is not take into account if the checkbox is not >checked. >So there is no way to show all funds. >This has been introduced by bug 11578. > >The default is not "only mine". The default is "show all funds". > >Test plan: >- Create fund where you are the owner and others where you are not. >- Go on the fund list view and verify the checkbox "show my funds only" > is take into account. > >Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Passes tests and QA script. > >Note: In order to test this make sure you have funds owned by >another staff user. >--- > admin/aqbudgets.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/admin/aqbudgets.pl b/admin/aqbudgets.pl >index 1a66c9c..a51a724 100755 >--- a/admin/aqbudgets.pl >+++ b/admin/aqbudgets.pl >@@ -59,7 +59,7 @@ $template->param( symbol => $cur->{symbol}, > my $op = $input->param('op') || 'list'; > > # see if the user want to see all budgets or only owned ones by default >-my $show_mine = $input->param('show_mine') // 1; >+my $show_mine = $input->param('show_mine') // 0; > > # IF USER DOESNT HAVE PERM FOR AN 'ADD', THEN REDIRECT TO THE DEFAULT VIEW... > if (not defined $template->{VARS}->{'CAN_user_acquisition_budget_add_del'} >-- >1.9.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 12955
:
31697
|
31725
| 32198