Bug 12501

Summary: Show Dissertation note (MARC21 502) in XSLT results
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: MARC Bibliographic data supportAssignee: Katrin Fischer <katrin.fischer>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: bgkriegel, tomascohen
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9356
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11620
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 12501: Show dissertation note (MARC21 502) in XSLT results
Bug 12501: Show dissertation note (MARC21 502) in XSLT results
[SIGNED-OFF] Bug 12501: Show dissertation note (MARC21 502) in XSLT results
[PASSED QA] Bug 12501: Show dissertation note (MARC21 502) in XSLT results

Description Katrin Fischer 2014-06-30 10:52:24 UTC
Bug 9356 added 502 dissertation note to the staff and OPAC detail pages, but not to the result list. Information should also show up on the result list, as it has important information about the year and place of publication, especially if the book has not been published.
Comment 1 Katrin Fischer 2014-07-25 10:34:08 UTC Comment hidden (obsolete)
Comment 2 Bernardo Gonzalez Kriegel 2014-08-09 13:10:24 UTC
Added 502 data to a record, it shows on Detail view opac/staff, but not on
Results..

Another thing is that example CSS is missing it's target id/class
Comment 3 Katrin Fischer 2014-08-11 09:50:09 UTC Comment hidden (obsolete)
Comment 4 Katrin Fischer 2014-08-11 09:52:06 UTC
Hi Bernardo,

I amended the test plan a little and I think I have an idea about what went wrong when you tested: If you catalogued the 502 for testing this, you have to make sure the record got reindexed by Zebra in order to have the note show up in the results list. Hope that was it, could you try again please?
Comment 5 Bernardo Gonzalez Kriegel 2014-08-11 12:18:18 UTC Comment hidden (obsolete)
Comment 6 Bernardo Gonzalez Kriegel 2014-08-11 12:19:39 UTC
(In reply to Katrin Fischer from comment #4)
> I amended the test plan a little and I think I have an idea about what went
> wrong when you tested: If you catalogued the 502 for testing this, you have
> to make sure the record got reindexed by Zebra in order to have the note
> show up in the results list. Hope that was it, could you try again please?

Tried and works, I suppose the problem was the index :)
Comment 7 Kyle M Hall (khall) 2014-08-15 18:12:50 UTC
Created attachment 30860 [details] [review]
[PASSED QA] Bug 12501: Show dissertation note (MARC21 502) in XSLT results

Bug 9356 added the dissertation note from MARC21 502 to the staff
and OPAC detail pages. This patch adds it to the result list.

1) Catalog a record with 502
   Examples: http://www.loc.gov/marc/bibliographic/bd502.html
2) Important: Wait until the record got indexed by Zebra or
   index it manually.
3) Verify your note shows up on the detail pages in staff and OPAC
4) Verfiy note also shows up on the result pages in staff and OPAC

5) Hide the dissertation note from display:

OpacUserCSS:
.diss_note {
  display:none;
}

IntranetUserCSS:
.diss_note {
  display:none;
}

6) Verify CSS works and all looks like before...

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Work as describes, value can be hidden using css,
no koha-qa errors

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 8 Tomás Cohen Arazi (tcohen) 2014-08-19 12:36:15 UTC
Patch pushed to master.

Thanks Katrin!