Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Pasi Kallinen 60505e57d6 Bug 11175: Show record component parts in the detail view
Shows the component records of a host, on the hosts detail view in
staff client or OPAC, with clickable links to the component records.

The host does not require linking entries to the components, but
components do require a link to the host record via 773$w.

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

Adds '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'
or, if the 003 is not defined in the Host, 773$w=Host001.

Does not use easyanalytics or useControlNumber.

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.

Rebased-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Pasi Kallinen <pasi.kallinen@koha-suomi.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Andrew Nugged <nugged@gmail.com>

JD amended path
-    if ($xslsyspref =~ m/Details/) {
+    if ( $xslsyspref eq "OPACXSLTDetailsDisplay" || $xslsyspref eq "XSLTDetailsDisplay" ) {

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-26 16:46:02 +02:00
..
acqui Bug 27287: Make note fields from orders history searchable 2021-10-21 12:24:04 +02:00
admin Bug 11175: Show record component parts in the detail view 2021-10-26 16:46:02 +02:00
authorities Bug 29137: Add new syspref to disable AV creation within the cataloguing module 2021-10-01 16:09:55 +02:00
basket
batch Bug 29244: Add dialog class where missing in print-notices.tt 2021-10-21 12:24:04 +02:00
catalogue Bug 29284: Don't die on analytics searching error 2021-10-25 14:08:00 +02:00
cataloguing Bug 28445: Use the task queue for the batch delete and update items tool 2021-10-18 11:28:40 +02:00
circ Bug 28084: Standardize: Cardnumber, Card number, Card 2021-10-21 12:24:04 +02:00
clubs Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
common
course_reserves Bug 28898: (follow-up) Add context to some more occurrences of Term in course reserves 2021-09-21 20:22:57 +02:00
errors Bug 28438: Capitalization: Various corrections 2021-09-28 15:12:45 +02:00
ill Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
installer Bug 19185: Ease elements selection 2021-10-25 11:27:40 +02:00
labels Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
mana
members Bug 29309: (follow-up) Change 'Pay fines' to 'Pay charges' 2021-10-25 14:08:06 +02:00
offline_circ
onboarding
patron_lists Bug 16446: (follow-up) Fix translation and adjust radio buttons 2021-10-21 12:24:04 +02:00
patroncards Bug 28438: Capitalization: Various corrections 2021-09-28 15:12:45 +02:00
plugins Bug 28438: Capitalization: Various corrections 2021-09-28 15:12:45 +02:00
pos Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
reports Bug 29186: (QA follow-up) Correct the check for showing limit menu 2021-10-25 14:08:06 +02:00
reserve Bug 29270: Remove flatpickr instantiation from request.tt 2021-10-25 13:56:32 +02:00
reviews
rotating_collections
serials Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
services
suggestion Bug 28983: Use Flatpickr on various pages 2021-10-05 10:58:14 +02:00
tags Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
test
tools Bug 29231: Add missing Flatpickr to inventory page 2021-10-21 12:24:04 +02:00
virtualshelves
about.tt Bug 29209: Credits for Saxion in Dutch translation 2021-10-15 11:34:26 +02:00
auth.tt Bug 28914: Fix wording in authentication forms 2021-09-20 12:35:41 +02:00
intranet-main.tt Bug 29020: Add link on the mainpage for users without admin access 2021-10-19 09:29:09 +02:00