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 b5ccd83c6f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
9a954b1650
commit
e20c0919cc
|
|
@ -826,7 +826,7 @@
|
|||
<input type='hidden' name='cache_expiry_units' value='[% cache_expiry_units | html %]' />
|
||||
<input type='hidden' name='public' value='[% public | html %]' />
|
||||
[% IF ( phase_update) %]
|
||||
<input type='hidden' name='phase' value='Update SQL' />
|
||||
<input type='hidden' name='phase' value='update_sql' />
|
||||
<button type="submit" name="save_anyway" value="Save anyway" class="approve"><i class="fa fa-fw fa-check"></i> Save anyway</button>
|
||||
[% ELSIF ( phase_save) %]
|
||||
<input type='hidden' name='area' value='[% area | html %]' />
|
||||
|
|
|
|||
Loading…
Reference in New Issue