Skip to content

Commit 6626fa6

Browse files
authored
Merge pull request #319 from ynput/bugfix/projects-library-filtering
Projects: Fix library filtering for GraphQl
2 parents 404b60e + da5eecd commit 6626fa6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ayon_api/_api_helpers/projects.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,10 @@ def _get_graphql_projects(
810810
for project in parsed_data["projects"]:
811811
if active is not None and active is not project["active"]:
812812
continue
813+
814+
if library is not None and library is not project["library"]:
815+
continue
816+
813817
if own_attributes:
814818
fill_own_attribs(project)
815819
self._fill_project_entity_data(project)

0 commit comments

Comments
 (0)