[Koha-bugs] [Bug 11175] Show the parent record's component parts in the detailed views

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 2 07:20:52 CEST 2018


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

paxed <pasi.kallinen at joensuu.fi> changed:

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

--- Comment #34 from paxed <pasi.kallinen at joensuu.fi> ---
Created attachment 79803
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79803&action=edit
Bug 11175: Show record component parts in the detail view

Shows the component records of a host, on the host detail view in
staff client or OPAC, with clickable links to the component records.
Host has no linking entries to the components, but the components link
to the host record via 773$w.

Adds a new search index, Control-number-identifier (aka cni), which
indexes the 003 controlfield.

Adds a Yet Another System Preference, ShowComponentRecords, which can
be used to turn this feature on or off in staff client and/or OPAC,
and defaults to off.

When looking up the component part records, the code searches for
records with (773$w=Host001 and 003=Host003) or 773$w='Host003 Host001'.
Except if UseControlNumber syspref is on, then it looks only for the
Host field 001.

Does not use easyanalytics.

Only for MARC21 biblios - UNIMARC has not been updated.

staff-global.css and opac.css have not been recreated, so you need
to use sass to recreate those from staff-global.scss and opac.scss

Test plan:

0) Apply patch
1) perl bulkmarcimport -file /tmp/easypiano.mrc -m MARCXML
   (This file is an attachment on the bug)
2) rebuild the zebra biblio index
3) Search for "easy piano" in staff client, and go to
   the biblio detail page. You should not see anything different
   in the record detail page.
4) Do the same on OPAC.
5) Change the ShowComponentRecords syspref appropriately and check
   the record detail page in staff client and OPAC.
   You should see a list of component part records.

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


More information about the Koha-bugs mailing list