1)remove a RDS server form org - add check if server is in collection

2)RDS add server in colection - can add only servers witch are not in other collection.
This commit is contained in:
vfedosevich 2014-11-19 15:30:39 +03:00
parent e49f5223d0
commit 399b24c7ce
3 changed files with 12 additions and 1 deletions

View file

@ -422,7 +422,7 @@ namespace WebsitePanel.EnterpriseServer
private static RdsServersPaged GetOrganizationRdsServersPagedInternal(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
{
DataSet ds = DataProvider.GetRDSServersPaged(itemId, null, filterColumn, filterValue, sortColumn, startRow, maximumRows, ignoreRdsCollectionId: true);
DataSet ds = DataProvider.GetRDSServersPaged(itemId, null, filterColumn, filterValue, sortColumn, startRow, maximumRows);
RdsServersPaged result = new RdsServersPaged();
result.RecordsCount = (int)ds.Tables[0].Rows[0][0];