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

--- Comment #5 from Kyle M Hall <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to