Summary: | 245f and 245g are not displayed in XSLT | ||
---|---|---|---|
Product: | Koha | Reporter: | Joy Nelson <1joynelson> |
Component: | Staff interface | Assignee: | Joy Nelson <1joynelson> |
Status: | CLOSED FIXED | QA Contact: | Josef Moravec <josef.moravec> |
Severity: | minor | ||
Priority: | P5 - low | CC: | bibliwho, fridolin.somers, gmcharlt, josef.moravec, martin.renvoize, nick, sandboxes |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
URL: | Ah | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Subfield $f and $g are not displayed to the right as expected.
My Keyword to MARC Mapping Bug 17625: adding subfields f and g to XSLT display Staff details display Bug 17625: adding subfields f and g to XSLT display Bug 17625: adding subfields f and g to XSLT display |
Created attachment 57471 [details]
My Keyword to MARC Mapping
Just an idea - have you checked the visilibity settings in the framework configuration for those 2 fields? Hi Katrin, They are set to show in the frameworks. In the xslt it appears the f subfield was removed by bug 13881? I'm planning on submitting a patch for this. Can you think of anything else that I might be missing? -joy (In reply to Katrin Fischer from comment #2) > Just an idea - have you checked the visilibity settings in the framework > configuration for those 2 fields? Ah right, I think the keywords to marc mapping doesn't work on the xslt detail view? (In reply to Katrin Fischer from comment #4) > Ah right, I think the keywords to marc mapping doesn't work on the xslt > detail view? I verified that. The Keyword to Marc mapping is for non xslt display. I'll change the title on this bug. The issue I'm having is indeed with XSLT Created attachment 76302 [details] [review] Bug 17625: adding subfields f and g to XSLT display Adding 245$f and 245$g to the Results and Detail pages on OPAC and staff side Signed-off-by: Joy Nelson <joy@bywatersolutions.com> To test: This patch updates the display of the title subfields in the XSLT display in the staff and OPAC. Display includes added subfields f and g To test: * Have a title or two with 245 subfields f and g already in the record. * Verify on OPAC and Staff side that subfields f and g do not appear in search results or Details Display * Apply the patch * Search the opac for title used above * Verify subfields f and g display properly * Click a title * Make sure the fields display properly * Repeat for a few more titles * Repeat in the Staff Client All works as expected under Sandbox 11. Note that w/ the details page in the staff client each subfield appears on a new line rather to the right of the title (see attachment). Signing off as this seems minor. Patch tested with a sandbox, by Cab Vinton <bibliwho@gmail.com> Created attachment 78003 [details]
Staff details display
Created attachment 78004 [details] [review] Bug 17625: adding subfields f and g to XSLT display Adding 245$f and 245$g to the Results and Detail pages on OPAC and staff side Signed-off-by: Joy Nelson <joy@bywatersolutions.com> Signed-off-by: Cab Vinton <bibliwho@gmail.com> Created attachment 78046 [details] [review] Bug 17625: adding subfields f and g to XSLT display Adding 245$f and 245$g to the Results and Detail pages on OPAC and staff side Signed-off-by: Joy Nelson <joy@bywatersolutions.com> Signed-off-by: Cab Vinton <bibliwho@gmail.com> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Awesome work all! Pushed to master for 18.11 Pushed to 18.05.x for 18.05.03 Pushed to 17.11.x for 17.11.10 |
Created attachment 57470 [details] Subfield $f and $g are not displayed to the right as expected. I have mapped the 245$f and 245$g to the subtitle in Keyword to MARC mapping. However those two fields are not displayed as expected to the right of the title. Two screenshots attached. One showing I mapped all 245 subfields to subtitle. One showing a bib where I added data in all subfields and how they are displayed. Missing 245$f and 245$g