Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Fridolin Somers 837fa140e7 Bug 14653: Acq planning filter 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 filter 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
- In filter form, select "by months" in "Select planning type"
=> Without patch, you see planning of "B_ACTIVE" with 1 fund
=> Without patch, you see planning of "B_OLD" with 3 funds

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-10-13 12:19:30 -03:00
..
preferences Bug 14045: DB Changes 2015-10-13 11:13:24 -03:00
admin-home.tt Bug 12412: Add ability for plugins to convert arbitrary files to MARC from record staging tool 2015-05-04 15:33:51 -03:00
aqbudgetperiods.tt
aqbudgets.tt
aqcontract.tt Bug 12054: Inactive vendors should be inactive 2015-07-20 10:34:55 -03:00
aqplan.tt Bug 14653: Acq planning filter always use default active period 2015-10-13 12:19:30 -03:00
auth_subfields_structure.tt Bug 14423: XSS bug in auth_subfields_structure 2015-06-23 10:12:03 -03:00
auth_tag_structure.tt
authorised_values.tt
authtypes.tt Bug 10947: Fix editing the default authority type 2015-05-19 09:25:59 -03:00
biblio_framework.tt
branch_transfer_limits.tt
branches.tt
categorie.tt Bug 14265 - Use $.trim instead of trim() in admin/categorie.tt 2015-06-01 14:16:21 -03:00
checkmarc.tt
cities.tt Bug 14888: Update copyright and wording 2015-10-05 12:00:38 -03:00
classsources.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
clone-rules.tt
columns_settings.tt Bug 14510: Redirect to the items' fields mapped 2015-09-18 11:57:04 -03:00
currency.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
didyoumean.tt
fieldmapping.tt
item_circulation_alerts.tt
items_search_field.tt
items_search_fields.tt
itemtypes.tt Bug 12965: Prevent to erase an existing item type 2015-09-02 14:39:11 -03:00
koha2marclinks.tt
marc_subfields_structure.tt Bug 14423: tab characters in auth_subfields_structure 2015-06-23 10:12:39 -03:00
marctagstructure.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
matching-rules.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
oai_set_mappings.tt
oai_sets.tt
patron-attr-types.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
preferences.tt Bug 11584: Introduce UseWYSIWYGinSystemPreferences syspref 2015-08-28 10:29:39 -03:00
printers.tt
smart-rules.tt Bug 14975: Fine grace period label is incorrect 2015-10-13 12:18:09 -03:00
sru_modmapping.tt
stopwords.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
systempreferences.tt Bug 11584: Syspref WYSIWYG, dropdown added 2015-08-28 10:30:17 -03:00
transport-cost-matrix.tt
z3950servers.tt