Fixed channel open projects count
This commit is contained in:
1 parent
a9c4b29935
commit
0d854b026a
3 files changed
+3
-3
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user