Bug 35936: Fix saving existing report with incorrect AV category
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 30 Jan 2024 09:04:45 +0000 (10:04 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 1 Feb 2024 16:21:38 +0000 (17:21 +0100)
commite20c0919ccbdd53abff080435c1f567e758ca4d4
tree0b54010f066f38be244b3781911e62b1c9ce41fc
parent9a954b165005c2424f6b6dd80b14ba68a8a37918
Bug 35936: Fix saving existing report with incorrect AV category

When an existing report is saved and an incorrect AV category is selected,
the UI is asking "do you want to save anyway", but the "Update SQL" button
leads to a blank page and the report is not saved.

On bug 33966 the value is been adjust to 'update_sql' but this incorrect
was left.

To test you need to use the browser inspector to adjust the value of the
selected option.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit b5ccd83c6f85b28affe82d980178e376a3dd0a1d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt