[Koha-bugs] [Bug 17385] Add custom export formats for bibliographic records
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 24 20:35:17 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17385
Mikaël Olangcay Brisebois <mikael.olangcay-brisebois at inLibro.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #84388|0 |1
is obsolete| |
--- Comment #30 from Mikaël Olangcay Brisebois <mikael.olangcay-brisebois at inLibro.com> ---
Created attachment 84389
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84389&action=edit
Bug 17385: Add custom export XSLT
Patch was corrected and rebased after QA feedback. Previous patches where
combined into this one.
- Empty READMEs have been deleted
- Whitespaces changes to unrelated code have been undone
* CustomXSLTExportList now uses LibXML to figure out the title and output
* The custom export XSLT's title should be an attribute to the root node,
otherwise it will default to filename
- Duplicate $xslFile param was removed from XSLTParse4Display
* Improvment to code structure in XSLTParse4Display
* Some fixes to calls to AddBiblio()
Test case:
- Apply patch
- Visit an item's detail page in the OPAC or the staff interface
- Click save and you found Simple Export.
- Click Simple Export and you have a file.html, it contain informations
returned by the xslt file.
- It work correctly in basket and lists.
The patch comes with sample XSLT files
for Intranet the xsl file is :
koha-tmpl/intranet-tmpl/prog/en/xslt/biblioexport/MARC21_simple_export.xsl
for opac the xsl file is :
koha-tmpl/opac-tmpl/bootstrap/en/xslt/biblioexport/MARC21_simple_export.xsl
Followed test plan, patch works as described. Also ran QA test tools and
modified files pass
Signed-off-by: Alex Buckley <alexbuckley at catalyst.net.nz>
Signed-off-by: Cori Lynn Arnold <carnold at dgiinc.com>
https://bugs.koha-community.org/show_bug.cgi?id=17835
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list