[Koha-bugs] [Bug 7933] Fields in marc display not the same

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 26 15:47:47 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7933

--- Comment #5 from Kyle M Hall <kyle.m.hall at gmail.com> ---
Created attachment 9308
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9308&action=edit
Bug 7933 - Fields in marc display not the same

The fields displayed in the 'labeled' and 'plain' views
for opac-MARCdetail.pl differ. The labeled view hides
subfields marked as hidden, while the 'plain' view
does not.

This is because the plain view simply grabs the marcxml
and transforms it via xslt. The labeled view is processed
in a completely different way, which respects the hidden field
flag for the set framework.

This commit resolves this issue by adding a subroutine to remove
hidden fields from a given record, and another subroutine
to convert marc records to marx xml.

Where before, the raw marc xml was transformed, now the script
gets a record with the hidden subfields removed, transforms that
to marc xml, and then transforms it again via xslt ( as before ).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list