Bug 23273: Fix CSV export for overdues
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 19 Aug 2019 22:09:58 +0000 (18:09 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 6 Sep 2019 09:35:31 +0000 (11:35 +0200)
commit2561a912efd3b0f811c01229cd488441b907435a
treed1d66c18f9535e93202f4e833b6e21bd0a6d8fdb
parentb63693abe3bf27a7d5505763303bbe53090dd9e7
Bug 23273: Fix CSV export for overdues

We should construct the URI parameters string manually to avoid
filtering problems.
We cannot send the full query_string to the template and expect that the
string will be escaped correctly.

Test plan:
- go to overdues.pl
- construct a search limiting by date due and library
- note number of overdues in results
- click "Download file of displayed overdues"
=> note that downloaded file contains just those in your search

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b8f382b82172b70166db48d572f767b06a4834ef)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
circ/overdue.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt