[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 Mar 21 15:33:52 CET 2024


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

--- Comment #195 from Matthias Le Gac <matthias.le-gac at inlibro.com> ---
Created attachment 163623
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163623&action=edit
Bug 17385: (QA follow-up) Add CustomXSLTExportPath & improve descriptions

TEST PLAN
Prerequisites:
 - Have more than one record in your catalog

Test steps:
1) Search for a record in the intranet
2) Click on the 'Save' button and observe the dropdown menu
    ---> There is no 'Simple Export' in the dropdown menu
3) Apply the patch
4) In 'Koha administration > System preferences' search 'OpacExportOptions'
5) Enable 'Simple HTML formats' and click on 'Save all OPAC preferences'
6) Repeat steps 1 and 2
    ---> There is now 'Simple Export' option in the dropdown menu
7) Click on 'Simple Export'
    ---> a .html file should be downloaded
    ---> you should see the record informations in the downloaded file
8) Add some item to your Cart
9) Open your Cart
10) Click on the 'Download' button, then click on 'Simple Export'
    ---> a .html file should be downloaded
    ---> you should see the records informations in the downloaded file
11) Add some items to a list
12) Open the list
13) Click on the 'Download list' button, then click on 'Simple Export'
    ---> a .html file should be downloaded
    ---> you should see the records informations in the downloaded file
14) Do the same steps in OPAC (steps 6 to 13)
15) On your computer, create a folder that will contain the xsl files in the
attachment
16 [review]) In the intranet, go to 'Koha administration > System preferences'
and search for 'CustomXSLTExportPath'
17) Write the full path to your created folder and click on the 'Save all
Cataloging preferences'
18) Repeat steps 6 to 14 (no need to download this time, only check that
'Simple Export 1' and 'Simple Export 2' are displaying when you click on the
'Save'/'Download'/'Download list' button)
19) In the system preferences search for OpacExportOptions and disable 'Simple
HTML formats'
20) Repeat steps 6 to 13 in OPAC
    ---> Notice that 'Simple Export 1' and 'Simple Export 2' are not in the
menu anymore
21) Run 'prove t/db_dependent/XSLT.t'

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


More information about the Koha-bugs mailing list