canvas-lms/app
Sarah Gerard ec926be9a8 media detail fetching updates correct attachment
if a media object has more than one attachment,
we need to ensure the correct one is updated
this only works if using the new media_attachment
routes

closes MAT-1314
flag=media_links_use_attachment_id

test plan:
- as long as all tests still pass, should be ok

qa risk: low

Change-Id: Ibead985ebe9a699c6facf74c9c3b88059efdc016
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/316419
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Mysti Lilla <mysti@instructure.com>
QA-Review: Sarah Gerard <sarah.gerard@instructure.com>
Product-Review: Sarah Gerard <sarah.gerard@instructure.com>
2023-04-21 22:26:06 +00:00
..
controllers media detail fetching updates correct attachment 2023-04-21 22:26:06 +00:00
graphql Integrate OSA helper with Outcome Alignment loader 2023-04-20 16:24:26 +00:00
helpers updated .coffee-related comments 2023-04-20 17:39:28 +00:00
messages wrap announcement_info around p tag 2023-04-13 17:58:57 +00:00
middleware rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00
models media detail fetching updates correct attachment 2023-04-21 22:26:06 +00:00
observers announce quizzes locked/unlocked on LiveEvents 2022-08-18 17:53:37 +00:00
presenters rubocop: fix miscelleneuos violations in prep of bumping rubocop 2023-04-12 19:26:13 +00:00
serializers bump rubocop-performance 2023-04-12 19:29:39 +00:00
services Reload the page if student with different font selected 2023-04-13 15:04:07 +00:00
stylesheets Improve rendering of errors in media embed iframes 2023-04-21 21:54:23 +00:00
views Improve rendering of errors in media embed iframes 2023-04-21 21:54:23 +00:00