From db978b379e03a971997e237b78b61da85752bf51 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Wed, 1 Apr 2026 10:28:46 +0200 Subject: [PATCH] fix library filtering --- ayon_api/_api_helpers/projects.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ayon_api/_api_helpers/projects.py b/ayon_api/_api_helpers/projects.py index 65513d7d7..86e003606 100644 --- a/ayon_api/_api_helpers/projects.py +++ b/ayon_api/_api_helpers/projects.py @@ -810,6 +810,10 @@ def _get_graphql_projects( for project in parsed_data["projects"]: if active is not None and active is not project["active"]: continue + + if library is not None and library is not project["library"]: + continue + if own_attributes: fill_own_attribs(project) self._fill_project_entity_data(project)