Bug 16736 - Keep branch filter when changing suggestion
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 14 Jun 2016 15:05:58 +0000 (17:05 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 07:24:33 +0000 (09:24 +0200)
commitcc31338f260c8beb174491b9b634ef45dab5a39f
tree0914e4e0a72803556af5cae41b74d5a82298ed33
parent8b15c8328bd7a104aac0900cdf88f1670f1b0c9e
Bug 16736 - Keep branch filter when changing suggestion

When changing suggestion, the selected tab is kept.
The same should be done with the selected branch.

Test plan:
- Go to suggestions table : /cgi-bin/koha/suggestion/suggestion.pl
- Select a branch in Acquisition information > For
- Select a pending suggestion
- Change status as accepted
- Click on Submit
=> without patch, the table is no longer filtered by branch
=> with patch, the table is filtered by branch

Works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 0c1fa2f93c30a363b8b6cf9eaf2a93979b61adf9)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt