mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
server: Search VR using redundant state (#4075)
Allow VR's to be searched using its redundant state Under Infrastructure -> Virtual Routers -> Search box we can search using "MASTER", "BACKUP" and this will display the VR's matching the state. Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
This commit is contained in:
parent
a9175d39a5
commit
1fe96cc426
@ -1307,7 +1307,7 @@ public class QueryManagerImpl extends MutualExclusiveIdsManagerBase implements Q
|
||||
ssc.addOr("state", SearchCriteria.Op.LIKE, "%" + keyword + "%");
|
||||
ssc.addOr("networkName", SearchCriteria.Op.LIKE, "%" + keyword + "%");
|
||||
ssc.addOr("vpcName", SearchCriteria.Op.LIKE, "%" + keyword + "%");
|
||||
|
||||
ssc.addOr("redundantState", SearchCriteria.Op.LIKE, "%" + keyword + "%");
|
||||
sc.addAnd("instanceName", SearchCriteria.Op.SC, ssc);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user