[Koha-bugs] [Bug 14399] Fix inventory.pl part two (following 12913)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 26 17:54:42 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14399

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #62096|0                           |1
        is obsolete|                            |

--- Comment #20 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 62733
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62733&action=edit
[SIGNED-OFF] Bug 14399: Prevent display of double zero notforloan status

On bug 12913 a zero status is added on the inventory form. This prevents
a lot of false warnings for a wrong notforloan status. The zero status
is not included in the default setup. But if you would add one, the
status will display here twice now.

This patch checks if the status already exists.

Test plan:
[1] Add a zero NOTFORLOAN status if it does not yet exist in Authorized
    values.
[2] Check that you do not see two "For loan" statuses on inventory form.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list