[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 May 11 22:40:15 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17385

--- Comment #157 from Hammat wele <hammat.wele at inlibro.com> ---
Created attachment 151099
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151099&action=edit
Bug 17385: (Fix) Add custum export format option to the cart and the lists and
fix tests for CustomXSLTExportList

This patch adds 'XSL-Simple Export' to the cart and the lists and correct the
fail test in t/XSLT.t
it contains Add custum export format option when saving a record

TO TEST:

Before applying:
1) Search for a record in the intranet.
2) Click on the 'Save' button and observe the dropdown menu.
    --> There is no 'XSL- Simple Export' in the dropdown menu.
3) Apply the patch.
4) In System preferences search for OpacExportOptions and enable XSL
5) Repeat the steps 1 and 2.
    ---> There is now 'XSL- Simple Export'  option in the dropdown menu
6) Click on 'XSL - Simple Export'. a .html file should be downloaded.
7) Open the .html file. You should see the record's informations.
8) Add some items to your Cart
9) Open the Cart
10) Click on the 'Download' and 'XSL - Simple Export'.
    ----> a .html file should be downloaded.
    ----> you should see the record's informations in the downloaded file.
11) Add some items to a List
12) Open the List
13) Click on the 'Download' and 'XSL - Simple Export'.
    ----> a .html file should be downloaded.
    ----> you should see the record's informations in the downloaded file.
14) Do the same steps in OPAC
    ----> a .html file should be downloaded.
    ----> you should see the record's informations in the downloaded file.
15) In System preferences search for OpacExportOptions and disable XSL
16) Repeat all steps
17) Notice that 'XSL - Simple Export' is no more in the menus.
18) Run prove -l t/XSLT.t

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


More information about the Koha-bugs mailing list