Koha/koha-tmpl/intranet-tmpl/prog/en/modules
David Cook 6a451360b8 Bug 21005: Missing row/column defaults cause unexpected results in report wizards
Some report wizards are missing row/column defaults, which sometimes return blank
pages (borrowers_stats.pl) or results always equalling 0, which a non-discerning
user may interpret incorrectly.

If the DEBUG environmental variable is enabled, missing row/column choices will
actually cause fatal software errors as well, which is also undesirable for users.

This patch adds default choices for row and column on
report wizards that had no radio buttons selected, so that a user
can't submit the form without choosing a row and column. This
prevents errors.

To test:
1) Apply patch
2) Visit /cgi-bin/koha/reports/issues_avg_stats.pl
3) Visit /cgi-bin/koha/reports/borrowers_stats.pl
4) Visit /cgi-bin/koha/reports/catalogue_stats.pl
5) Visit /cgi-bin/koha/reports/issues_stats.pl
6) Observe that default choices for row/column are there

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-10-19 17:27:36 +00:00
..
acqui Bug 14786: Use MARC istead of ISO2709 everywhere 2018-10-17 13:55:19 +00:00
admin Bug 14786: Use MARC istead of ISO2709 everywhere 2018-10-17 13:55:19 +00:00
authorities Bug 21513: Add a 'Cancel' button to the authority editor and remove duplicate 'Save' button 2018-10-17 13:57:35 +00:00
basket Bug 14786: Use MARC istead of ISO2709 everywhere 2018-10-17 13:55:19 +00:00
batch Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
catalogue Bug 21583: Don't use Asset.js for external script files 2018-10-17 12:38:03 +00:00
cataloguing Bug 14786: Use MARC istead of ISO2709 everywhere 2018-10-17 13:55:19 +00:00
circ Bug 15139: Add non-public item notes to overdue report 2018-10-15 13:56:22 +00:00
clubs Bug 13272: (follow-up) add missing type="text" 2018-10-01 11:18:32 +00:00
common Bug 18480: Get rid of unwanted / distracting link in patron search for fund owner 2018-10-15 14:19:08 +00:00
course_reserves Bug 21409: Add column configuration to course reserves 2018-10-15 14:10:13 +00:00
errors Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
ill Bug 20797: (QA follow-up) Fix ill requests table 2018-10-13 08:54:58 -03:00
installer Bug 19833: Kill all the "bibilos" - final couple 2018-09-19 13:54:43 +00:00
labels Bug 9968: Fix wrong index for Standard number in advanced and label search 2018-10-09 11:04:24 +00:00
members Bug 18480: Get rid of unwanted / distracting link in patron search for fund owner 2018-10-15 14:19:08 +00:00
offline_circ Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
onboarding Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
patron_lists Bug 21113: Corrections to patron merge confirmation prompt 2018-10-15 13:22:56 +00:00
patroncards Bug 18480: Get rid of unwanted / distracting link in patron search for fund owner 2018-10-15 14:19:08 +00:00
plugins Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
reports Bug 21005: Missing row/column defaults cause unexpected results in report wizards 2018-10-19 17:27:36 +00:00
reserve Bug 13272: (follow-up) fix concerns from comment #5 2018-10-01 11:18:31 +00:00
reviews Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
rotating_collections Bug 21439: Update two-column templates with Bootstrap grid: Rotating collections 2018-10-17 13:20:51 +00:00
serials Bug 20351: Shortcut serials scripts if a blocking error appeared 2018-10-17 14:25:30 +00:00
services Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
suggestion Bug 21454: Remove html filter for Price filtered variables 2018-10-01 13:56:34 +00:00
tags Bug 21306: Update two-column templates with Bootstrap grid: Tags 2018-09-16 00:13:14 +00:00
test
tools Bug 14786: Use MARC istead of ISO2709 everywhere 2018-10-17 13:55:19 +00:00
virtualshelves Bug 14786: Use MARC istead of ISO2709 everywhere 2018-10-17 13:55:19 +00:00
about.tt Bug 7143: (follow-up) remove trailing apostrophe 2018-10-09 16:13:57 +00:00
auth.tt Bug 12027: (follow-up) Add missing filter 2018-10-01 13:56:32 +00:00
intranet-main.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00