fix(console): add state filter to org table, filter context (#5650)

* fix: add state filter to org table, filter context

---------

Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
This commit is contained in:
Max Peintner
2023-04-12 15:02:54 +02:00
committed by GitHub
parent d306e8219f
commit 2ec36bd63b
6 changed files with 82 additions and 11 deletions

View File

@@ -221,7 +221,7 @@ func NewOrgNameSearchQuery(method TextComparison, value string) (SearchQuery, er
return NewTextQuery(OrgColumnName, value, method)
}
func NewOrgStateSearchQuery(value int32) (SearchQuery, error) {
func NewOrgStateSearchQuery(value domain_pkg.OrgState) (SearchQuery, error) {
return NewNumberQuery(OrgColumnState, value, NumberEquals)
}