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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 20 Aug 2019 14:01:57 +0000 (15:01 +0100)
commitb8f382b82172b70166db48d572f767b06a4834ef
tree81078f8b76ea272c7b997365d60ef8f509bafe73
parentd2e85ac9949ba6ccbe7470ae2caf446c05e0b941
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>
circ/overdue.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt