Bug 31634: Add part_number and part_name in opac result browser
authorCaroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Tue, 27 Sep 2022 15:30:16 +0000 (11:30 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 3 Oct 2022 17:34:43 +0000 (14:34 -0300)
commit2084810e566e5440ac9bd95687a64e458ab2747f
treeca3ffcc4bdce5c78a0c5e433d4152ac80379fa61
parent33ba3af45a02c8f080d52933205160d5c85ee20e
Bug 31634: Add part_number and part_name in opac result browser

This patch adds the part_number and part_name in the opac results browser.

To test:
0. Apply patch

1. Download the sample records and import into Koha
1.1. Download the sample mrc file
1.2. In Koha staff interface, go to Tools > Stage MARC records for import
1.3. Click 'Browse' and choose the file
1.4. Click 'Upload file'
1.5. Click 'Stage for import'
1.6. Click 'Manage staged records'
1.7. Click 'Import this batch into the catalog'

2. Make sure OpacBrowseResults is enabled
2.1. In Koha staff interface, go to Administration > Global system preferences
2.2. Search for OpacBrowseResults
2.3. If necessary, change to 'enable' and click 'Save all OPAC preferences'

3. In OPAC, search for BFF and browse the results
3.1. In Koha OPAC, search for BFF
3.2. Click on one of the titles to access the opac-detail page
3.3. Click 'Browse results'
--> The browser should show the main title, along with the number and volume title.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
opac/opac-detail.pl