Koha/koha-tmpl/intranet-tmpl/prog/en/modules/reports
Owen Leonard 219c2de66a
Bug 13806: Sanitize inputs where creating Reports subgroup
This patch adds validation of report group and subgroup inputs so that
the user can't enter data into only one half of the group code/name
pair.

To test, apply the patch and go to Reports -> Use saved.

  - Create or edit a report which doesn't have a group or subgroup
    assigned.

  - Under "Report group," select the "or create" radio button.

  - Click the "Update SQL" button to submit the form without entering a
    group code or name. The form should require taht you enter data into
    both fields.

  - Enter data into the report group code and name fields. Add data to
    either the code or data field under "Report subgroup." You should
    not be able to submit the form without populating both.

  - Start over editing a report which doesn't have a group or subgroup
    assigned.

    - Select an existing group under "Report group."

    - Under "Report subgroup," select the "or create" option.

      - You should not be able to submit the form without adding data in
        both the code and name fields for the report subgroup.

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-12-13 15:29:34 +00:00
..
csv Bug 18331: POST_CHOMP everywhere! 2017-08-15 12:17:41 -03:00
acquisitions_stats.tt Bug 18939: Acquisition statistics - Fix wrong template variable name for collection filter 2019-02-15 18:42:48 +00:00
bor_issues_top.tt Bug 21526: (QA follow-up) Fix all the tabs 2018-10-26 17:09:58 +00:00
borrowers_out.tt Bug 21428: Update two-column templates with Bootstrap grid: Reports part 1 2018-10-01 23:59:34 +00:00
borrowers_stats.tt Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
cash_register_stats.tt Bug 23805: (QA follow-up) Corrections for cash_register_stats 2019-10-31 17:49:54 +00:00
cat_issues_top.tt Bug 21428: Update two-column templates with Bootstrap grid: Reports part 1 2018-10-01 23:59:34 +00:00
catalogue_out.tt Bug 21526: (QA follow-up) Fix all the tabs 2018-10-26 17:09:58 +00:00
catalogue_stats.tt Bug 21005: Address QA tool failures on tabs 2018-10-19 17:27:37 +00:00
convert_report.tt Bug 18667: Show a diff view of SQL reports when converting 2017-07-13 16:39:04 -03:00
dictionary.tt Bug 23227: Remove type attribute from script tags: Reports 2019-07-15 11:27:58 +01:00
guided_reports_start.tt Bug 13806: Sanitize inputs where creating Reports subgroup 2019-12-13 15:29:34 +00:00
issues_avg_stats.tt Bug 21005: Address QA tool failures on tabs 2018-10-19 17:27:37 +00:00
issues_stats.tt Bug 21005: Missing row/column defaults cause unexpected results in report wizards 2018-10-19 17:27:36 +00:00
itemslost.tt Bug 23194: Fix other occurences 2019-07-15 11:27:58 +01:00
itemtypes.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
orders_by_budget.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
reports-home.tt Bug 22586: IntranetReportsHomeHTML no longer renders as HTML on reports-home.pl 2019-03-29 11:29:05 +00:00
reserves_stats.tt Bug 21526: (QA follow-up) Fix all the tabs 2018-10-26 17:09:58 +00:00
serials_stats.tt Bug 23444: Terminology - Use library instead of branch 2019-10-17 15:06:57 +01:00