[Koha-bugs] [Bug 34308] New: Item->store tests on itemlost>0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 19 16:49:56 CEST 2023


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

            Bug ID: 34308
           Summary: Item->store tests on itemlost>0
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

Should store test itemlost > 0 or !itemlost (truth test) ?

In most code it seems to be tested with truth already.

It looks like we do not have any special meaning for negative itemlost values.
There is normally just 1 to 5.
So I think that the >0 test just stems from seeing values 1 and higher. So imo
we can just test truth to see if something is lost.

Do you have any feedback about these negative lost values? Please add it here.

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


More information about the Koha-bugs mailing list