Fix the issue workflow filter do not show all users
When user add any group in Project Group Tab, layout will be incorrect in case below. Reproduce 1) Go to /identity 2) Press 'create project' button, go to 'Project Groups' tab 3) For example, you have there two default groups: 'admins' and 'nonadmins'. Type 'non' in the left filter field 4) Filter works correct and now 'all groups' panel has only 'nonadmins' group. Press '+' to add 'nonadmins' to project groups 5) Note that All groups panel is now empty and filter input is empty too. Group admins will not be shown until you type 'admin' in that field. After being pressed '+', update of user list and remove of filter input are performed as internal process. This issue is caused by incorrect order of these processes. This patch will fix it. Change-Id: If73584c040846dc82aa482e75f5e5d95dfb6525e Closes-Bug: #1543620
This commit is contained in:
parent
9274624843
commit
8ec0ce07f2
|
@ -272,9 +272,7 @@ horizon.membership = {
|
|||
// update lists
|
||||
horizon.membership.list_filtering(step_slug);
|
||||
horizon.membership.detect_no_results(step_slug);
|
||||
|
||||
// remove input filters
|
||||
$("input." + step_slug + "_filter").val("");
|
||||
$("input." + step_slug + "_filter").trigger("keyup");
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue