Bug 4907: make 'Organize by' filter in suggestions reflect selected option
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 1 Jul 2013 21:44:39 +0000 (23:44 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 16 Jul 2013 14:49:20 +0000 (11:49 -0300)
commit5207c513c36fb0e66ed5a8390fc30119e194fad1
tree2856a5f7b8c23043dbe829b088471ac14ea0c69c
parent68184ade6f6b0c1ef00e5c26978eaefe0aa00e8b
Bug 4907: make 'Organize by' filter in suggestions reflect selected option

When using the 'Organize by' option to change the display of the
suggestions, the option is applied, but the pull down always jumps
back to the first entry 'Status'.

This patch fixes that.

To test:
- Try out all settings and verify that after the page reloads the selected
  option is applied to your suggestions and the pull down shows
  the option you selected.

Note: Until bug 10519 is properly fixed the tabs will not show
the correct descriptions, but the URL will show you the selected
option as parameter: displayby=acceptedby

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 60a4dffbb197fe92e7483b9e0dfcc19bc9b51664)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt