[hg] galaxy 3753: Fix grid filtering bug.
details: http://www.bx.psu.edu/hg/galaxy/rev/e42d0ae7b789 changeset: 3753:e42d0ae7b789 user: jeremy goecks <jeremy.goecks@emory.edu> date: Fri May 07 08:52:43 2010 -0400 description: Fix grid filtering bug. diffstat: templates/grid_base.mako | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diffs (19 lines): diff -r 8fdcfecfe856 -r e42d0ae7b789 templates/grid_base.mako --- a/templates/grid_base.mako Thu May 06 19:39:27 2010 -0400 +++ b/templates/grid_base.mako Fri May 07 08:52:43 2010 -0400 @@ -248,9 +248,12 @@ var url_args = ${h.to_json_string( cur_filter_dict )}; // Place "f-" in front of all filter arguments. - $.map(url_args, function(arg) { - return "f-" + arg; - }); + for (arg in url_args) + { + value = url_args[arg]; + delete url_args[arg]; + url_args["f-" + arg] = value; + } // Add sort argument to URL args. url_args['sort'] = "${encoded_sort_key}";
participants (1)
-
Nate Coraor