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

            Bug ID: 39932
           Summary: Koha::Item->_status should return an array
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: REST API
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

The `_status` method has a couple problems:

* It doesn't have a POD
* It returns a string!

It should return a list instead, so handling on the UI doesn't require
splitting the string back.

That said, the tests using it in the UI (Holdings_spec.ts) only test the
`available` rendering use case. This is minor.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to