]> git.koha-community.org Git - koha.git/commit
Bug 17206: Fix switch to default framework
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 7 Sep 2016 09:26:12 +0000 (10:26 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 13 Sep 2016 07:52:43 +0000 (09:52 +0200)
commit7f6ee8001962e0c966926e0befd4bff31af440ad
treeb83186d1a927e0fd1fc989506a794804a64ef2cf
parentf5ce44ef50b01cda049341a5593bf16f46ed53ef
Bug 17206: Fix switch to default framework

When editing a bibliographic record, if you switch the framework to
default, the page is reloaded but the framework is not changed.
From the pl script, you can see that the frameworkcode is set to the one
of the biblio if set to false. The empty string, which means default,
should be taken into account.

Test plan:
- Create a record using the Fast add framework
- Save the record
- Open the record for editing
- Use the "Settings" pull down to change the framework to default
- Try another framework
- Try changing to default from there

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit bd0d1dd6b1eeb51540a6121c8ed84330e5f48eff)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
cataloguing/addbiblio.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt