Bugzilla – Attachment 43307 Details for
Bug 14653
Acq planning filter and export always use default active period
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF]Bug 14653 - Acq planning export always use default active period
SIGNED-OFFBug-14653---Acq-planning-export-always-u.patch (text/plain), 1.81 KB, created by
Héctor Eduardo Castro Avalos
on 2015-10-09 19:57:40 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 14653 - Acq planning export always use default active period
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2015-10-09 19:57:40 UTC
Size:
1.81 KB
patch
obsolete
>From d446bc5cf6e9a966250ea0dbb66fc5a236080af2 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 6 Aug 2015 10:49:03 +0200 >Subject: [PATCH] [SIGNED-OFF]Bug 14653 - Acq planning export always use > default active period > >In Acq planning /cgi-bin/koha/admin/aqplan.pl, left side filter and export forms have no parameter budget_period_id nor authcat, so the use the default active period. >As said in code >- IF PERIOD_ID IS DEFINED, GET THE PERIOD - ELSE GET THE ACTIVE PERIOD BY DEFAULT >my $period = GetBudgetPeriod($budget_period_id); > >This patch corrects the export form. > >Test plan : >- Create an active budget "B_ACTIVE" with 1 fund >- Create an inactive budget "B_OLD" with 3 funds >- Go to "B_OLD" planning by libraries >- You see 3 funds >- Click on "Submit" in export form >=> Without patch, you get the planning of "B_ACTIVE" with 1 fund >=> Without patch, you get the planning of "B_OLD" with 3 funds by libraries > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >Works as advertised >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt >index 2b16b64..f391389 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt >@@ -313,6 +313,8 @@ > <fieldset class="action"> <input type="submit" value="Submit"/> > <input type="hidden" name="report_name" value="[% report_name %]" /> > <input type="hidden" name="output" value="file" /></fieldset> >+ <input type="hidden" name="budget_period_id" value="[% budget_period_id %]" /> >+ <input type="hidden" name="authcat" value="[% authcat %]" /> > </fieldset> > </form> > [% END %] >-- >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 14653
:
41399
|
41400
|
43307
|
43308
|
43309
|
43378
|
43379