Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Mark Tompsett fea7b9b4d4 Bug 4502: An attempt to make things more sensible.
The reason the budget_period_id was not defined was because in
two cases it was not passed! This patch adds those missing
parameters. And as a result, cuts out the attempt to default the
authcat to '' unless the budget_period_id is defined.

Additionally, the start and end months don't seem to be passed,
so rather than have it blow up, checking them forces the else
case logic.

budget_period_id is the budget id. If you have two budgets,
you can craft a URL to work with budget_period_id matching
those two ids. Anything else should trigger the new error which
was modified to reflect more of what the problem is.

Follow the test plan in comment #6. Feel free to also to attempt
crafting URLs and triggering errors.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Well, works and does not explode any more
No errors

To trigger the new message simply put /cgi-bin/koha/admin/aqplan.pl
on your staff page, an intriguing 'Planning for by Asort1' appears :)

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-11-19 20:23:46 -03:00
..
acqui Bug 14946: Remove C4::Dates from acqui/* files 2015-11-17 23:42:55 -03:00
admin Bug 4502: An attempt to make things more sensible. 2015-11-19 20:23:46 -03:00
authorities Bug 14915: (QA followup) Replace fa-hdd with fa-save 2015-10-27 10:03:24 -03:00
basket Bug 14915: (QA followup) Replace fa-zoom-in and fa-zoom-out 2015-10-27 10:03:51 -03:00
batch
catalogue Bug 15175: Respect IntranetBiblioDefaultView syspref 2015-11-17 10:00:15 -03:00
cataloguing Bug 8064: Little fix for 003, 005, 008 in MARC21 2015-11-09 15:08:57 -03:00
circ Bug 15091: DEBT is IMPOSSIBLE, not NEEDSCONFIRMATION 2015-11-19 20:22:06 -03:00
common Bug 15109: Make name the default sort order for all patron searches 2015-11-17 09:49:21 -03:00
course_reserves Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
errors Bug 14574: Fixing error messages on staff client so they make more sense 2015-08-18 13:18:22 -03:00
help Bug 11431: (QA followup) Typo in help file / variable name 2015-11-04 12:33:44 -03:00
installer Bug 15005: Replace CGI->url with the corresponding url 2015-10-19 09:36:43 -03:00
labels bug 15112: Make greybox consistent size across label/card creator 2015-11-05 09:51:03 -03:00
members Bug 15109 - Regression in patron search results ordering 2015-11-17 09:49:21 -03:00
offline_circ Bug 14321: Integrate Upload.pm into Koha 2015-09-25 12:02:52 -03:00
patron_lists Bug 14915: (QA followup) Replace fa-remove-sign with fa-times-circle 2015-10-27 10:03:06 -03:00
patroncards Bug 14632: (QA followup) Restore missing "Delete batch" button. 2015-11-06 12:04:57 -03:00
plugins
reports Bug 14100: (follow-up) Language overlay for item types 2015-10-27 12:34:06 -03:00
reserve Bug 12197: enforce the maxreserves preference when staff members place hold requests 2015-10-22 09:38:53 -03:00
reviews
rotating_collections Bug 15061: Can't add item to rotating collection 2015-11-04 10:44:33 -03:00
serials Bug 14969: Remove C4::Dates from serials/*.pl files 2015-11-17 15:35:57 -03:00
services
sms
suggestion Bug 9468: use new SUGGEST_FORMAT list 2015-11-05 10:46:57 -03:00
tags
test Bug 14321: Final cleanup, removing obsolete files 2015-09-25 12:02:52 -03:00
tools Bug 12072: Make datepicker and templates to be aware of dmydot format 2015-11-19 13:15:19 -03:00
virtualshelves Bug 15208: Followup to reorder words 2015-11-19 13:03:27 -03:00
about.tt Bug 7143: Add Marc Veron to the release team 2015-11-11 23:52:28 -03:00
auth.tt Bug 11559: Supporting changes for Rancor 2015-10-27 12:16:05 -03:00
intranet-main.tt Bug 12428: QA Follow-up: Wrap borrower's title in a span to make it possible to hide 2015-10-27 16:26:42 -03:00