Commit cd797944 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 355833: Groups are out of order when sharing queries - Patch by Frédéric…

Bug 355833: Groups are out of order when sharing queries - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
parent ffa70a47
...@@ -405,10 +405,8 @@ sub DoSavedSearches { ...@@ -405,10 +405,8 @@ sub DoSavedSearches {
} }
$vars->{'queries'} = \@newqueries; $vars->{'queries'} = \@newqueries;
if ($user->queryshare_groups_as_string) { if ($user->queryshare_groups_as_string) {
$vars->{'queryshare_groups'} = $dbh->selectall_arrayref( $vars->{'queryshare_groups'} =
'SELECT id, name FROM groups WHERE id IN ' . Bugzilla::Group->new_from_list($user->queryshare_groups);
'(' . $user->queryshare_groups_as_string .')',
{'Slice' => {}});
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment