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 0c1fa2f93c)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
Fridolin Somers 2016-06-14 17:05:58 +02:00 committed by Frédéric Demians
parent 8b15c8328b
commit cc31338f26
1 changed files with 1 additions and 1 deletions

View File

@ -637,7 +637,7 @@ h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o
</div>
</div>
<input type="hidden" name="branchcode" value="[% branchfilter %]" />
<input type="hidden" name="tabcode" value="[% suggestion.suggestiontype %]" />
<input type="hidden" name="op" value="change" />
</fieldset>