Bug 16736 - Keep branch filter when changing suggestion
commit0c1fa2f93c30a363b8b6cf9eaf2a93979b61adf9
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 14 Jun 2016 15:05:58 +0000 (14 17:05 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 24 Jun 2016 13:07:28 +0000 (24 13:07 +0000)
treea06eb36b02fce8fc514d249409d782630be348b2
parentd69d874a3f749687c2ff9a8d2a400378dfc94ff6
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>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt