[Bug 31634] New: Add part_number and part_name in opac result browser
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 Bug ID: 31634 Summary: Add part_number and part_name in opac result browser Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org Created attachment 141031 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141031&action=edit Sample records When there are a lot of results for a series, the result browser in the OPAC only shows the main title (245$a in MARC21), which is the same for all the titles in the series. It would be great if we could also see the part number (245$n) and part name (245$p) in that view. These informations are available in the biblio table under part_name and part_number. I included a .mrc file with sample records of two series (MARC21). If you want to use your own records, search for or create records for a series that has the main title in 245$a and the volume number in 245$n and the volume title in 245$p. To test: 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' --> Note that all results are for 'BFF' with no other title information -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 --- Comment #1 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Created attachment 141032 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141032&action=edit Screenshot of results browser Here is a screenshot of the results browser in a sandbox with the sample records. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Small patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 --- Comment #2 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Created attachment 141034 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141034&action=edit 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. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 --- Comment #3 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- I tried something... not sure if it's 100% ok, I did a lot of copy/pasting stuff that I didn't necessarily understand. Feel free to redo the patch if needed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=31636 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #141034|0 |1 is obsolete| | --- Comment #4 from David Nind <david@davidnind.com> --- Created attachment 141042 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141042&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #5 from David Nind <david@davidnind.com> --- (In reply to Caroline Cyr La Rose from comment #3)
I tried something... not sure if it's 100% ok, I did a lot of copy/pasting stuff that I didn't necessarily understand. Feel free to redo the patch if needed.
Everything works as per the test plan. 8-) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|oleonard@myacpl.org |caroline.cyr-la-rose@inlibr | |o.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com --- Comment #6 from Lucas Gass <lucas@bywatersolutions.com> --- Looks great to me! A simple edit to the listResults aray in opac-detail.pl so the part name and number are available to you in the template. The template changes look good and I think this is a great addition. QA scripts are happy too! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #141042|0 |1 is obsolete| | --- Comment #7 from Lucas Gass <lucas@bywatersolutions.com> --- Created attachment 141072 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141072&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 --- Comment #8 from Lucas Gass <lucas@bywatersolutions.com> --- Oops, I will re-attach this one with my sign-off included. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #141072|0 |1 is obsolete| | --- Comment #9 from Lucas Gass <lucas@bywatersolutions.com> --- Created attachment 141073 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141073&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Add part_number and |Add part_number and |part_name in opac result |part_name in OPAC result |browser |browser -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This enhancement adds the release notes| |title's part number and | |part name in the OPAC | |result browser. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |22.11.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 --- Comment #10 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Pushed to master for 22.11. Nice work everyone, thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31634 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Pushed to master |RESOLVED -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org