[Koha-bugs] [Bug 33231] (Bug 30813 follow-up) No publication date nor edition statements in Z39.50 biblio search results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 14 23:50:05 CET 2023


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

Janusz Kaczmarek <januszop at gmail.com> changed:

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

--- Comment #2 from Janusz Kaczmarek <januszop at gmail.com> ---
Created attachment 148196
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148196&action=edit
Bug 33231 (Bug 30813 follow-up) No publication date nor edition statements in
Z39.50 biblio search results

After executing Z39.50 search, the result table is not populated
with publication dates.  This is the result of code refactoring
made by Bug 30813.  The removed function _add_rowdata treated
in special way the publication date putting it in $row in under
special, non MARC variant dependent key 'date'--since
the z3950_search.tt looks under breeding_loo.date.

Same effect (no data in the result table) with edition statement.
Reason: editionstatement coming from TransformMarcToKoha vs edition
expected by z3950_search.tt.

Test plan:
==========
1. Have a Koha instance with some Z39.50 servers defined.
2. In Cataloging, perform a Z39.50 search for any term.
3. In the result table you would not get the publication dates nor
   edition statement (if present in the record).
4. Apply the patch.
5. Repeat the search.
6. You should see the publication dates (according to the current
   mapping, i.e. for MARC 21 coming from 260 $c or 264 $c subfield)
   and edition statements from the records found.

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


More information about the Koha-bugs mailing list