Skip to content

Commit

Permalink
Merge pull request #5547 from avalonmediasystem/fix_transcript_check
Browse files Browse the repository at this point in the history
Return array of ids for SpeedyAF::Proxy::MediaObject.sections_with_files
  • Loading branch information
masaball authored Jan 5, 2024
2 parents fa2402a + c65ca39 commit e5e206f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/presenters/speedy_af/proxy/media_object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def language
end

def sections_with_files(tag: '*')
master_files.select { |master_file| master_file.supplemental_files(tag: tag).present? }
master_files.select { |master_file| master_file.supplemental_files(tag: tag).present? }.map(&:id)
end

def permalink_with_query(query_vars = {})
Expand Down

0 comments on commit e5e206f

Please sign in to comment.