mirror of
https://github.com/clearml/clearml-server
synced 2025-02-07 13:33:42 +00:00
Fix project count for datasets and pipelines
This commit is contained in:
parent
797e503e67
commit
eb2b9cbd9a
@ -92,7 +92,7 @@ def get_entities_count(call: APICall, company, request: EntitiesCountRequest):
|
|||||||
query = Q()
|
query = Q()
|
||||||
if (
|
if (
|
||||||
entity_cls in (Project, Task)
|
entity_cls in (Project, Task)
|
||||||
and field != "reports"
|
and field not in ("reports", "pipelines", "datasets")
|
||||||
and not request.search_hidden
|
and not request.search_hidden
|
||||||
):
|
):
|
||||||
query &= Q(system_tags__ne=EntityVisibility.hidden.value)
|
query &= Q(system_tags__ne=EntityVisibility.hidden.value)
|
||||||
|
Loading…
Reference in New Issue
Block a user