VRFS-1326 added filter for deleted sessions/recordings
This commit is contained in:
parent
956f2cf9e9
commit
fa3ca94e53
|
|
@ -128,4 +128,7 @@ class JamRuby::PromoLatest < JamRuby::Promotional
|
|||
.map(&:latest)
|
||||
end
|
||||
|
||||
def self.active(max_count=10)
|
||||
super.select { |pp| pp.latest.present? ? pp : nil }.compact
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue