Bug 34127 - Allow to customize CSV export of basketgroup and add a ODS export
Summary: Allow to customize CSV export of basketgroup and add a ODS export
Status: Failed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Arthur Suzuki
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-27 07:07 UTC by Mathieu Saby
Modified: 2023-08-31 13:47 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 34127 : add the "export to CSV link" for baskets which are closed or linked to a groups (1.68 KB, patch)
2023-06-29 13:21 UTC, Arthur Suzuki
Details | Diff | Splinter Review
Bug 34127 : add the "export to CSV link" for baskets which are closed or linked to a groups (1.72 KB, patch)
2023-06-29 14:35 UTC, Sam Lau
Details | Diff | Splinter Review
Bug 34127 : add the "export to CSV link" for baskets which are closed or linked to a groups (1.80 KB, patch)
2023-06-30 08:53 UTC, Biblibre Sandboxes
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Saby 2023-06-27 07:07:51 UTC
The CSV export of basketgroup is currently not customizable
A customizable ODS export should also be useful
Comment 1 Arthur Suzuki 2023-06-29 08:52:00 UTC
Hi Mathieu,
CSV file formats is much easier to generate than OpenDocumentSpreadsheet and can be opened by LibreOffice or OpenOffice Calc.
Regarding the issue you have with the missing export link when the basket is closed and attached to a basket group, you can unattach the basket from it's group then the link appear again.
I agree that's not an ideal solution but that works while there is no patch to fix this :)
Arthur
Comment 2 Arthur Suzuki 2023-06-29 13:21:39 UTC
Created attachment 152869 [details] [review]
Bug 34127 : add the "export to CSV link" for baskets which are closed or linked to a groups

Test :
 - create an acquisition basket
 - add at least one record
 - close the basket (the "export as CSV" link is present)
 - attach the basket to a basket group
 - check that the "export as CSV" link, next to "reopen the basket" is
 now gone.
 - apply patch and reload the page (may need reload plack, cache, etc...)
 - "export as CSV" link is now present even though the basket is
 closed and it is attached to a basket group.
Comment 3 Sam Lau 2023-06-29 14:35:36 UTC
Created attachment 152870 [details] [review]
Bug 34127 : add the "export to CSV link" for baskets which are closed or linked to a groups

Test :
 - create an acquisition basket
 - add at least one record
 - close the basket (the "export as CSV" link is present)
 - attach the basket to a basket group
 - check that the "export as CSV" link, next to "reopen the basket" is
 now gone.
 - apply patch and reload the page (may need reload plack, cache, etc...)
 - "export as CSV" link is now present even though the basket is
 closed and it is attached to a basket group.
Signed-off-by: Sam Lau <samalau@gmail.com>
Comment 4 Biblibre Sandboxes 2023-06-30 08:53:44 UTC
Created attachment 152890 [details] [review]
Bug 34127 : add the "export to CSV link" for baskets which are closed or linked to a groups

Test :
 - create an acquisition basket
 - add at least one record
 - close the basket (the "export as CSV" link is present)
 - attach the basket to a basket group
 - check that the "export as CSV" link, next to "reopen the basket" is
 now gone.
 - apply patch and reload the page (may need reload plack, cache, etc...)
 - "export as CSV" link is now present even though the basket is
 closed and it is attached to a basket group.
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Dominique et Stephanie <stephanie.etallaz@univ-cotedazur.fr>
Comment 5 Jonathan Druart 2023-08-31 13:47:02 UTC
 FAIL   koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
   FAIL   forbidden patterns
                forbidden pattern: tab char (line 176)


Processing additional checks

        * Commit title does not start with 'Bug XXXXX: ' - 4e7b4a41ea9


Run the QA script!