Skip to content

Commit

Permalink
Merge pull request #460 from gobitfly/NOBIDS/Deactivate_group_search_…
Browse files Browse the repository at this point in the history
…for_hidden_groups_in_summary

Deactivate group search for hidden groups
  • Loading branch information
Eisei24 authored Jun 12, 2024
2 parents be19ded + 7060f90 commit 164ec7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/pkg/api/data_access/vdb_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ func (d *DataAccessService) GetValidatorDashboardSummary(dashboardId t.VDBId, cu
releaseLock()
} else if number, err := strconv.ParseUint(search, 10, 64); err == nil {
searchValidator = int(number)
} else if dashboardId.AggregateGroups {
// Searching for a group name is not supported when aggregating groups
return []t.VDBSummaryTableRow{}, &paging, nil
}
}

Expand Down

0 comments on commit 164ec7b

Please sign in to comment.