Skip to content

Commit

Permalink
Log Shipping - Hidden instances fix
Browse files Browse the repository at this point in the history
Hidden instances should not be shown in the detail section unless the show hidden option is enabled or we are viewing the instance.
#603
  • Loading branch information
DavidWiseman committed May 5, 2023
1 parent 3676e9b commit 9272ad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DBADashGUI/HA/LogShippingControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public void RefreshData()
{
cn.Open();
cmd.Parameters.AddWithValue("InstanceIDs", string.Join(",", InstanceIDs));
cmd.Parameters.AddWithValue("ShowHidden", InstanceIDs.Count == 1 || Common.ShowHidden);
cmd.Parameters.AddRange(statusFilterToolStrip1.GetSQLParams());

DataTable dt = new();
Expand Down

0 comments on commit 9272ad8

Please sign in to comment.