[Koha-bugs] [Bug 11175] Show the parent records child records (aka. component parts) in the detailed views.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 31 15:49:58 CET 2013


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

Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> changed:

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

--- Comment #3 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 22649
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22649&action=edit
Bug 11175 - Show the parent records child records (aka. component parts) in the
detailed views.

TERMINOLOGY:
"Child record" or "Component part": A Bibliographic record connected to it's
host record via $773w -> 001 or via other Record-control-number-index relation.
"Host record": A bibliographic record which contains child records. Host record
doesn't have a link to the child record.

USEFUL:
For music cataloguers whose jobs depend on these.
For browsing the contents of a musical record.
Provides the basis for a high quality music library service.

Because Koha has the building blocks to create these child records out of box,
it is odd that they can't be displayed out of box.

This patch adds a system preference AddChildRecordsToDetailedViews.
This controls if child records data is appended after the bibliographic data
for XSLT parsing.
Also makes sure that child records are not pulled needlessly for non-detailed
views as this would cripple performance.

Modifies the default XSLT templates:
 MARC21slim2intranetDetail.xsl and
 MARC21slim2OPACDetail.xsl
to display the child record data as HTML and link to the detailed views fopr
the child records.
Modifies .css files as well.

An extra container div is added to opac-detail.tt, mimicking presentation in
detail.tt, to prevent a possible long child records list from breaking
the opac-details -view.

--------------------------------------
TEST PLAN
--------------------------------------

PREREQUISITES:

-AddChildRecordsToDetailedViews system preference needs to be activated.

-Catalog a bunch of child records for a host record.
--Search a record and go to detailed view.
--Use the existing functionality "+ New" -> "New Child Record" to catalog child
records.

------------------------
TEST CASE1 - Staff client
------------------------

-Search for the record you just made and display it in the normal detail.pl
-view.
-Verify that a list of child records are displayed on the right side of the
browser window.

------------------------
TEST CASE2 - OPAC
------------------------

-Search for the record you just made and display it in the opac-detail.pl
-view.
-Verify that a list of child records are displayed on the right side of the
browser window.

------------------------
Thank you!

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


More information about the Koha-bugs mailing list