cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ustcweizhou <>
Subject [GitHub] cloudstack issue #1910: CLOUDSTACK-9748:VPN Users search functionality broke...
Date Thu, 16 Feb 2017 08:44:03 GMT
Github user ustcweizhou commented on the issue:
    @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 or file a JIRA ticket
with INFRA.

View raw message