settings search returns ordered results
This commit is contained in:
1 parent
8b73d57a6b
commit
80fcdd3cbe
1 file changed
+1
-1
@@ -270,7 +270,7 @@ public class SettingsManager
|
|||||||
if (Sets.newHashSet(rule.description.toLowerCase(Locale.ROOT).split("\\W+")).contains(lcSearch))
|
if (Sets.newHashSet(rule.description.toLowerCase(Locale.ROOT).split("\\W+")).contains(lcSearch))
|
||||||
return true; // contains full term in description, but case insensitive
|
return true; // contains full term in description, but case insensitive
|
||||||
return false;
|
return false;
|
||||||
}).collect(ImmutableList.toImmutableList());
|
}).sorted().collect(ImmutableList.toImmutableList());
|
||||||
}
|
}
|
||||||
|
|
||||||
public int printAllRulesToLog(String category)
|
public int printAllRulesToLog(String category)
|
||||||
|
|||||||
Reference in new issue
Block a user