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)
committerJulian Maurice <julian.maurice@biblibre.com>
Tue, 16 Aug 2016 13:08:07 +0000 (15:08 +0200)
commit349b13750ef261d081c1d64fc512b5c943d2fb3e
treeab15e7a6aa4129d3c7efd8913c89f2a3e6f546d5
parentbf384f4ef9082f693e0e285f67460faea417af8a
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>
(cherry picked from commit cc31338f260c8beb174491b9b634ef45dab5a39f)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt