Browse Source

bug fix

master
XiaXiang 8 years ago
parent
commit
7bcb2b0261
  1. 4
      designer/src/com/fr/design/mainframe/alphafine/search/manager/ActionSearchManager.java

4
designer/src/com/fr/design/mainframe/alphafine/search/manager/ActionSearchManager.java

@ -39,7 +39,9 @@ public class ActionSearchManager implements AlphaFineSearchProcessor {
List<UpdateActionModel> updateActions = UpdateActionManager.getUpdateActionManager().getUpdateActions();
for (UpdateActionModel updateActionModel : updateActions) {
if (updateActionModel.getActionName() != null) {
if (updateActionModel.getActionName().toLowerCase().contains(searchText.toLowerCase()) || updateActionModel.getParentName().toLowerCase().contains(searchText.toLowerCase())) {
StringBuffer buffer = new StringBuffer();
buffer.append(updateActionModel.getActionName()).append(updateActionModel.getParentName()).append(updateActionModel.getSearchKey());
if (buffer.toString().toLowerCase().contains(searchText.toLowerCase()) ) {
filterModelList.add(new ActionModel(updateActionModel.getActionName(), updateActionModel.getParentName(), updateActionModel.getAction()));
}
}

Loading…
Cancel
Save