cmdChangeResourceGroup_Click changed so that it clears the in-memory resource groups before retrieving them again from the server. This prevents problems when renaming resource groups which when renamed will show up as a separate entry in the ResourceGroup table when repopulating that table from the server.
Fixes bug EHS#0000341.
This commit is contained in:
parent
184e9fe456
commit
944999a279
|
@ -1819,8 +1819,9 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
}
|
||||
|
||||
m_sResourceGroupName = sResGroupName;
|
||||
m_dsGlobal.Tables["GroupResources"].Clear(); //must be cleared first as it has a relationship to ResourceGroup
|
||||
m_dsGlobal.Tables["ResourceGroup"].Clear();
|
||||
m_DocManager.LoadResourceGroupTable();
|
||||
m_dsGlobal.Tables["GroupResources"].Clear();
|
||||
m_DocManager.LoadGroupResourcesTable();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue