summaryrefslogtreecommitdiff
authorJonathan Druart <jonathan.druart@biblibre.com>2014-09-18 10:25:26 (GMT)
committer Tomas Cohen Arazi <tomascohen@gmail.com>2014-10-31 19:05:23 (GMT)
commite988b5ada31bbbee7200ea5be00ff275b36959f9 (patch) (side-by-side diff)
tree60e3c614b6aa7904ebf1c213d8cf80ec6d3333b6
parent4dc30d48ad2ef8f5705b2a8064f2c7c5b9528284 (diff)
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. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xadmin/aqbudgets.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/aqbudgets.pl b/admin/aqbudgets.pl
index fa914d5..a7a4dfe 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'}