--- Comment #2 from David Cook <> ---
Created attachment 77644
Bug 21005: Missing row/column defaults cause unexpected results in report

Some report wizards are missing row/column defaults, which sometimes return
pages ( or results always equalling 0, which a
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

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/
3) Visit /cgi-bin/koha/reports/
4) Visit /cgi-bin/koha/reports/
5) Visit /cgi-bin/koha/reports/
6) Observe that default choices for row/column are there

You are receiving this mail because:
You are watching all bug changes.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to