Github user ustcweizhou commented on the issue: https://github.com/apache/cloudstack/pull/1910 @Ashadeepa I just tested it. It seems it is not working as I expected if username and keyword are both set. I suggest to use the following ``` sb.and("username", sb.entity().getUsername(), SearchCriteria.Op.EQ); sb.and("keyword", sb.entity().getUsername(), SearchCriteria.Op.LIKE); ... if (keyword!= null) { sc.setParameters("keyword", "%" + keyword + "%"); } ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---