|
|
|
@ -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())); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|