]> git.koha-community.org Git - koha.git/commit
Bug 24001: Fix patron card template edition
authorBlou <blou@inlibro.com>
Tue, 30 Jun 2020 16:50:09 +0000 (12:50 -0400)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Fri, 17 Jun 2022 03:25:04 +0000 (05:25 +0200)
commitcff9585e045322cec8ae45d8b8cb855bcc0f1049
tree703ef3029e4d56d2888f243e2e555a4a7bdd74fc
parentc1d9370c40cefcb79588a05fb4616085c7b1c692
Bug 24001: Fix patron card template edition

Error when saving Patron card Template:
Can't bless non-reference value at
/home/vagrant/kohaclone/C4/Creators/Profile.pm line 89

This is caused by the profile dropdown offering invalid choices and is
fixed by adding a filter to limit options to creator = 'Patroncards'.
The UI already handles the case where no valid profile is avaiable.

Signed-off-by: Alexis Ripetti <alexis.ripetti@inLibro.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 8be82f861621cdf86bcd4b683254365542897ed4)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
patroncards/edit-template.pl