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)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 12 Sep 2016 09:02:35 +0000 (09:02 +0000)
commitbd0d1dd6b1eeb51540a6121c8ed84330e5f48eff
tree4a705ec38d14bddccf4f29ee31f8980200d860f0
parent6a78f6d0de242b0d6daa166a3b858ecbbb11371e
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>
cataloguing/addbiblio.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt