Skip to content

Commit

Permalink
Project list (#2205)
Browse files Browse the repository at this point in the history
* workstaff issue

* project insights active
  • Loading branch information
dinesh-aot authored May 6, 2024
1 parent 1ddd575 commit c80551e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epictrack-api/src/api/models/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def find_all_projects(cls, with_works=False, is_active=None):
if with_works:
query = query.filter(cls.works.any())
if is_active is not None:
query = query.filter(cls.is_active.is_(False))
query = query.filter(cls.is_active.is_(is_active))
return query.filter(cls.is_deleted.is_(False)).all()

@classmethod
Expand Down

0 comments on commit c80551e

Please sign in to comment.