]> git.koha-community.org Git - koha.git/commit
Bug 6657: Prevent biblionumber to be duplicated
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 17 Sep 2015 13:31:55 +0000 (14:31 +0100)
committerLiz Rea <wizzyrea@gmail.com>
Thu, 10 Dec 2015 23:26:26 +0000 (12:26 +1300)
commit0a27e3517fb1da3c460f887b71f49bad85e1e7b6
tree799bc5653b88cb582604cb321818f3cd46dda7cf
parentdf64a9ca8a9574463fd6ef5e170ce14eeacfee00
Bug 6657: Prevent biblionumber to be duplicated

If the biblionumber field is displayed in the framework, on editing a
biblio the field/subfield will be duplicated.
To prevent that this patch adds a check when building the field list.

Test plan:
1/ map biblio.biblionumber with 999$c
2/ Display 999$c in a framework
3/ Edit a biblio using this framework
4/ Save => The field should not have been duplicated

5/ map biblio.biblionumber with 001
6/ Display 001 in a framework
7/ Edit a biblio using this framework
8/ Save => The field should not have been duplicated

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Works as described, aldo removes duplicate values.
No errors

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 9ae556a21243ecae669bda2c5f42a67769ae9d78)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit c32edbd6e1d25583b8bf040e472727b0058a87d6)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
C4/Biblio.pm