mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Ticket #263: Corrected Example parameters.
This commit is contained in:
@@ -222,9 +222,9 @@ public class ConnectionGroupService {
|
||||
Criteria criteria = example.createCriteria();
|
||||
|
||||
if(parentID != null)
|
||||
criteria.andConnection_group_idEqualTo(parentID);
|
||||
criteria.andParent_idEqualTo(parentID);
|
||||
else
|
||||
criteria.andConnection_group_idIsNull();
|
||||
criteria.andParent_idIsNull();
|
||||
|
||||
// Query the connections
|
||||
List<ConnectionGroup> connectionGroups = connectionGroupDAO.selectByExample(example);
|
||||
|
@@ -210,9 +210,9 @@ public class ConnectionService {
|
||||
Criteria criteria = example.createCriteria();
|
||||
|
||||
if(parentID != null)
|
||||
criteria.andConnection_idEqualTo(parentID);
|
||||
criteria.andParent_idEqualTo(parentID);
|
||||
else
|
||||
criteria.andConnection_idIsNull();
|
||||
criteria.andParent_idIsNull();
|
||||
|
||||
// Query the connections
|
||||
List<Connection> connections = connectionDAO.selectByExample(example);
|
||||
|
Reference in New Issue
Block a user