]> git.koha-community.org Git - koha.git/commit
Bug 27045: Fix other exports using CSV profiles
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 Nov 2020 14:33:14 +0000 (15:33 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 23 Aug 2022 20:10:30 +0000 (20:10 +0000)
commit9af01ea2e3c6735420431cd41a97e29a28167165
tree60436e66f6ad3724af8c4d4e9d41a8fbd72d975c
parent4db8368fd558066ab321353e9eb346563f871f72
Bug 27045: Fix other exports using CSV profiles

This patch corrects the export of the 2 other reports
using CSV profiles:

* Late issues (serials)
* Basket (acquisitions)

To test:
1) Late issues
* Update the late issues sample report to use tab as separator
* Create a subscription
* Go to serial collection and 'generate next' to get some late issues
* Go to Claims
* Export the late issues and verify format is correct
* Verify exported file has tabs

2) Basket summary
* Create an order with several order lines
* Create an SQL type CSV profile for basket export using tab as separator
  Example: aqorders.quantity|aqordres.listprice|Title=biblio.title
* Export the basket using your configured CSV profile
* Verify exported file has tabs

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 7cd84171ab57a35138fa5c585d2ed6de442e453c)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Acquisition.pm
serials/lateissues-export.pl