]> git.koha-community.org Git - koha.git/commit
Bug 26082: Call store on new items to update itemnumber
authorColin Campbell <colin.campbell@ptfs-europe.com>
Wed, 29 Jul 2020 12:23:14 +0000 (13:23 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 20 Aug 2020 08:23:59 +0000 (10:23 +0200)
commitb5a36c20a20721e82820ccaaf139285beadbaaf0
tree19358c00b87bc00b8037f8bb41b541d8767f94b8
parent909755e5f66adea521a5b516c86bfdb5a83f6b0d
Bug 26082: Call store on new items to update itemnumber

Need to add call to store to Koha::Item->new so that itemnumber
is returned - otherwise is not defined and causes an error
Bug is a side-effect of Bug 23463 as this was implicitly
done in AddItem

Also set biblioitemnumber explicitly for item adds this also
used to be done explicitly but can now cause an FK error

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/EDI.pm