[Bug 44304] New: Extent record display customization to include item/952 information
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44304 Bug ID: 44304 Summary: Extent record display customization to include item/952 information Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Target Milestone: --- Often I get asked about 952 info. in a record display customization. I would be handy if we could get that info. and use it in a customization. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44304 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |39860 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39860 [Bug 39860] Add a way to allow for additional/custom MARC fields in the record display -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44304 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44304 --- Comment #1 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 212664 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212664&action=edit Bug 44304: Extent record display customization to allow item information To test: 1. APPLY PATCH and restart_all 2. Find a record with some items on it. Note the biblionumber. 3. Go to Tools > Additional content > Record display customizations 4. Make a customization to count total issues ( assuming issues are stored in the 952$l ): [% SET total = 0 %] [% FOREACH f IN record.field('952') %] [% total = total + f.subfield('l') %] [% END %] <span class="results_summary total_issues"> <span class="label">Total issues: </span> [% total %] </span> 5. Go to the record detail page from step 2. Notice the Total issues: are included. 6. Make an OPAC detail page customization to show barcodes ( assuming barcodes are in the 952$p ): [% IF record.subfield('952','p') %] <span class="results_summary barcodes"> <span class="label">Barcodes: </span> <ul class="resource_list"> [% FOREACH f IN record.field('952') %] [% IF f.subfield('p') %] <li>[% f.subfield('p') | html %]</li> [% END %] [% END %] </ul> </span> [% END %] 7. Go to the OPAC detail page and ensure the barcodes show correctly 8. Make or have an item on the record from step 6 that has a different location ( LOC ) than the others. 9. Use OpacHiddenItems to hide that LOC, for example: location: [GEN] 10. Go back to the OPAC detail page, ensure the barcodes with a shelf location of GEN are NOT displaying, so OpacHiddenItems is being correctly honored -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44304 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Small patch Assignee|koha-bugs@lists.koha-commun |lucas@bywatersolutions.com |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44304 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |In Discussion CC| |dcook@prosentient.com.au --- Comment #2 from David Cook <dcook@prosentient.com.au> --- Mmm this could lead to performance problems. You might want to wrap this with a system preference similar to "PassItemMarcToXSLT". After all, we're trying to move away from server-side rendering of item information to API-driven rendering of item information overall. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44304 --- Comment #3 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- (In reply to David Cook from comment #2)
Mmm this could lead to performance problems. You might want to wrap this with a system preference similar to "PassItemMarcToXSLT".
After all, we're trying to move away from server-side rendering of item information to API-driven rendering of item information overall.
Good call. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org