[Koha-bugs] [Bug 31550] ILS-DI: Add OPAC description for some item fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Aug 27 00:22:26 CEST 2023


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This enhancement adds the
      release notes|                            |OPAC descriptions for some
                   |                            |item fields to the XML
                   |                            |returned from ILS-DI
                   |                            |requests. This includes
                   |                            |these fields: location,
                   |                            |ccode, permanent_location,
                   |                            |notforloan, itemlost,
                   |                            |withdrawn, damaged, and
                   |                            |restricted. The OPAC
                   |                            |descriptions have
                   |                            |_description added to the
                   |                            |item field name, for
                   |                            |example:
                   |                            |<ccode_description>Referenc
                   |                            |e (OPAC
                   |                            |description)</ccode_descrip
                   |                            |tion>.

--- Comment #22 from David Nind <david at davidnind.com> ---
Testing notes (using KTD):

1. Added OPAC descriptions for CCODE authorised values.

2. Tested with sample data using:
http://127.0.0.1:8081/cgi-bin/koha/opac/ilsdi.pl?service=GetRecords&id=262

3. Before patch, there is only the CCODE in the returned XML, for example:
<ccode>REF</ccode>.

4. After the patch, the CCODE OPAC description is also now included in the
returned XML, for example: <ccode_description>Reference (OPAC
description)</ccode_description>

5. Ran tests and these passed: prove t/db_dependent/AuthorisedValues.t

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


More information about the Koha-bugs mailing list