]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 20 Jul 2022 14:50:40 +0000 (11:50 -0300)
commit7cd84171ab57a35138fa5c585d2ed6de442e453c
treed93dc9076200f075f80d6693c7ce6b7550cfbfea
parent983965ee4790fd7841af87fcfdb8395ccea9e813
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>
C4/Acquisition.pm
serials/lateissues-export.pl