Fixed channel open projects count

This commit is contained in:
2023-03-07 11:54:20 -05:00
parent a9c4b29935
commit 0d854b026a
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ class Channel < Sequel::Model
end
def openProjects()
return 0
return self.videos_dataset.exclude(status: 'published').exclude(archived: true).all()
end
end