Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Fridolin Somers 852075d48e 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

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:35 -03:00
..
acqui Bug 10181: Acq - Improve message for deleted records 2015-10-02 15:06:48 -03:00
admin Bug 14653: Acq planning export always use default active period 2015-10-13 12:19:35 -03:00
authorities
basket
batch
catalogue Bug 14879: Move the date displays to the template 2015-09-25 11:52:27 -03:00
cataloguing Bug 14201: We can do without plugin marc21_leader_computerfile 2015-09-28 12:19:52 -03:00
circ Bug 14920: Remove C4::Dates from circ/reserveratios.pl 2015-10-13 11:39:01 -03:00
common
course_reserves
errors Bug 14574: Fixing error messages on staff client so they make more sense 2015-08-18 13:18:22 -03:00
help Bug 14929: Fix missing display of help page in contract management 2015-10-02 11:08:20 -03:00
installer
labels Bug 14667: (QA followup) remove useless labels-menu.inc file 2015-10-06 12:43:44 -03:00
members Bug 14841: Columns settings are not taken into account for checkout table / moremember 2015-10-13 11:38:23 -03:00
offline_circ Bug 14321: Integrate Upload.pm into Koha 2015-09-25 12:02:52 -03:00
patron_lists
patroncards Bug 14739: Adapt wording in breadcrumbs if a new batch is created 2015-10-06 10:25:30 -03:00
plugins
reports
reserve Bug 14883: Librarians are not warned if patron is restricted when placing holds 2015-09-25 15:37:35 -03:00
reviews
rotating_collections
serials Bug 10855: (follow-up) Search subscriptions by additional fields 2015-10-02 15:10:31 -03:00
services
sms
suggestion
tags
test Bug 14321: Final cleanup, removing obsolete files 2015-09-25 12:02:52 -03:00
tools Bug 14141: Fix copy action 2015-10-02 14:25:05 -03:00
virtualshelves Bug 14517: List shelves list is broken for translated interfaces 2015-08-18 13:18:21 -03:00
about.tt Bug 14298: Add warning to the about page if the sco user does not have correct permissions 2015-09-25 11:15:48 -03:00
auth.tt Bug 14671: Allow correct translation of CAS authentication 2015-10-02 15:07:58 -03:00
intranet-main.tt