Bug 23721: Use basketgroup's name to name the CSV export file
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Nov 2019 10:12:32 +0000 (11:12 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 21 Nov 2019 11:33:49 +0000 (11:33 +0000)
commitfbd46dd3a7f231479c031808df967a9286a864d0
treecb984a0c9ef981c3d570cb0206090947c33eb756
parentd4589500d197ddb543b63b4c84e87e763d050b40
Bug 23721: Use basketgroup's name to name the CSV export file

When exporting a basket group, the names of the files are different:
 * pdf => aqbasketgroup.name(.pdf)
 * csv => aqbasketgroup.id(.csv)

Better to use basketgroup's name for consistency and readability

Test plan:
Create a basketgroup and export it in pdf and CSV. The name of the
generated file must be the basketgroup's name suffixed by the extension.

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
acqui/basketgroup.pl