Bug 22667: Pick default value from framework for cn_source
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 30 Apr 2019 17:54:37 +0000 (13:54 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 8 Oct 2019 13:02:29 +0000 (14:02 +0100)
commit1e727da0446ad3814f8519b86120020af2f4099a
tree556ffee06b6b02f4d1d2bb78403f36db7bb22862
parentf692ad00cbf49b1ff77937e75024b8e3bc8fa9c8
Bug 22667: Pick default value from framework for cn_source

If the cn_source has a default value defined in the framework it will
not be used when ordering or receiving serials.

Test plan:
Set the pref DefaultClassificationSource to Library of congress
Define a default value=ddc (for Dewey) for the ACQ and default framework
Receive an order (AcqCreateItem=on ordering) and confirm that Dewey is
selected by default (the default value from the ACQ framework is used)
Receive a serial and confirm that Dewey is selected by default

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Items.pm