From a05d90ff054785cebf82c9ecc6cfaff1e64c4df9 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 1 Jul 2013 23:44:39 +0200 Subject: [PATCH] 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 Signed-off-by: Chris Cormack Signed-off-by: Galen Charlton (cherry picked from commit 60a4dffbb197fe92e7483b9e0dfcc19bc9b51664) Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 5207c513c36fb0e66ed5a8390fc30119e194fad1) --- .../prog/en/modules/suggestion/suggestion.tt | 30 +++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 5818fc5372..b92abc8c3e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -479,11 +479,31 @@ $(document).ready(function() { calcNewsuggTotal(); });

Filter by: [clear]

-- 2.39.5