[Koha-bugs] [Bug 19572] New: opac-result item avaibility not the same as opac-detail shows

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 2 21:30:06 CET 2017


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

            Bug ID: 19572
           Summary: opac-result item avaibility not the same as
                    opac-detail shows
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: david.bourgault at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

This is an issue two of our clients have encountered : the item avaibility in
the result page does not match the one in the detail page.

e.g.: The items have a notforloan value of -2, which is mapped through
Authorised_Values to "In Processing" (or equivalent) but on the OPAC result
page, it is displayed as "On Order". The detailed page show the correct value.

>From my analysis, this is because whereas the intranet results and the opac
details use the database to get items statuses, the opac result goes through
the XSLT processing, and doesn't have access to the Authorised_Values table.
This is worked around by some hardcoded values in the "item namespace" created
by XSLT.pm.

It's possible to fix this issue case-by-case for each client, but that's a very
ugly solution.

I don't plan to submit a patch to this bug, because I am not sure how to solve
the issue.

(If my explanations are unclear please tell me)

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


More information about the Koha-bugs mailing list