]> git.koha-community.org Git - koha.git/commit
Bug 26083: Item editor defaults to lost
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 29 Jul 2020 17:03:57 +0000 (13:03 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 30 Jul 2020 15:44:27 +0000 (17:44 +0200)
commit3ae472ba5d9b7bfe6c6e44320ca020c9cf111b01
treee9c6ee715bb34b39c10395d43e02550bf9b493e8
parentcc621836b26010986c85bd2cc986ff71b77bb28d
Bug 26083: Item editor defaults to lost

When editing an item via additem.pl, koha defaults to the first
available lost status, rather than defaulting to not-lost.

Test Plan:
1) Ensure you do not have a value ClaimReturnedLostValue
2) Edit an existing item that is not lost
3) Note the lost value is set even though it is not lost
4) Apply this patch
5) Edit a different item that is not lost
6) Note the lost value is not set!

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt