Bug 12332: Fix for tab "Purchase suggestions" not lighting up
authorViktor Sarge <viktor.sarge@regionhalland.se>
Mon, 16 Jun 2014 12:09:10 +0000 (13:09 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 8 Jul 2014 13:43:46 +0000 (10:43 -0300)
commit3acbead04930c502b3e406d54b3a513088ddd098
tree5284b966d64565ba3e2f4eef126f54eadaab6f23
parentfea21b16abb16b2d690f500c733a8a21211ab205
Bug 12332: Fix for tab "Purchase suggestions" not lighting up

This patch changes the file purchase-suggestions.pl with "suggestionsview => 1" for the template parameter.
In circ-menu.inc i changed the condition from "suggestions" to "suggestionsview" since it seemed to conflict with the existing variable suggestions (and in that case only highlighting the tab when there were suggestions).

Please note that I fixed the troubles with the tab "Fines" in a separate patch 9245.

Test plan:
1) Verify that "Purchase suggestions" does not light up as it should when clicked.
2) Install the patch.
3) Verify that the tab "Purchase suggestions" now actually light up when clicked.

Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Works as advertised.
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
members/purchase-suggestions.pl