]> git.koha-community.org Git - koha.git/commit
Bug 29146: Apply framework defaultvalue only to new records
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 30 Sep 2021 13:39:59 +0000 (13:39 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Nov 2021 11:38:39 +0000 (12:38 +0100)
commitdc30d4c3768146f23931d2c1f97a9669346465fe
tree97cd6e032ef79e6b867a4f9b85f2253ac11b8655
parent22392e4a6106b6b2be7eda4a59b2c4c4ac5848de
Bug 29146: Apply framework defaultvalue only to new records

This applies only to the 'regular' cataloguing editor.
Another report could be opened for the advanced one,
if needed.

Test plan:
[1] Add a default value to some field X in framework Y.
[2] Open an existing biblio record in that fw. Clear field X. Save.
[3] Reopen the record. The default should not be in field X.
[4] Add a new record in that fw. You should see default value in X.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
cataloguing/addbiblio.pl