Fixed channel open projects count

This commit is contained in:
gballan committed 2023-03-07 11:54:20 -05:00
1 parent a9c4b29935
commit 0d854b026a
3 files changed
+3 -3

No files matched your search

+1 -1
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