]> git.koha-community.org Git - koha.git/commit
Bug 18393: Acquisition statistics - Fix wrong template variable name for collection...
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 6 Feb 2019 11:43:52 +0000 (11:43 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 5 Mar 2019 21:10:35 +0000 (21:10 +0000)
commitb973f5b96195d2fbadeafeef27438de85a3f3126
tree0e30ccfd30b163759d077e807e736a280921dc0f
parenta62ab435628eaa00a656e09e90411f883f437545
Bug 18393: Acquisition statistics - Fix wrong template variable name for collection filter

The template variable was wrong, so the filter never submitted the
collection code for the query.

Before:
<option value="">Fiction</option>
<option value="">Non-fiction</option>

After:
<option value="FIC">Fiction</option>
<option value="NFIC">Non-fiction</option>

To test:
- Go to Reports > Statistics wizards > Acquisitions
- Pick a row and column
- Compare results with and without collection filter
- Verify the table is always the same
- Apply patch
- Repeat comparison, verify the filter works now

https://bugs.koha-community.org/show_bug.cgi?id=18393
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit f2746dd8fb1c4557ae56db4769a07fe663576ddc)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 9523546f2df4128ecaa48d86cb7d03cabdc477ac)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt