You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by dm...@apache.org on 2017/10/27 20:07:37 UTC

aurora git commit: Revert role searching in UI to old behavior

Repository: aurora
Updated Branches:
  refs/heads/master 5a26c8b4b -> 35e29b8e7


Revert role searching in UI to old behavior

Move from prefix search to full-text matching.

Reviewed at https://reviews.apache.org/r/63364/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/35e29b8e
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/35e29b8e
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/35e29b8e

Branch: refs/heads/master
Commit: 35e29b8e77faab66ad34336a49e54f495e967250
Parents: 5a26c8b
Author: David McLaughlin <da...@dmclaughlin.com>
Authored: Fri Oct 27 13:03:38 2017 -0700
Committer: David McLaughlin <da...@dmclaughlin.com>
Committed: Fri Oct 27 13:03:38 2017 -0700

----------------------------------------------------------------------
 ui/src/main/js/components/RoleList.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/35e29b8e/ui/src/main/js/components/RoleList.js
----------------------------------------------------------------------
diff --git a/ui/src/main/js/components/RoleList.js b/ui/src/main/js/components/RoleList.js
index 2bdae8e..9d01822 100644
--- a/ui/src/main/js/components/RoleList.js
+++ b/ui/src/main/js/components/RoleList.js
@@ -52,7 +52,7 @@ export default class RoleList extends React.Component {
         </thead>
         <Pagination
           data={this.props.roles}
-          filter={(r) => (this.state.filter) ? r.role.startsWith(this.state.filter) : true}
+          filter={(r) => (this.state.filter) ? r.role.includes(this.state.filter) : true}
           hideIfSinglePage
           isTable
           numberPerPage={25}