Fix not rendered selection checkbox for Media Library grid widget after searching

Created on 2 November 2023, 8 months ago
Updated 12 December 2023, 7 months ago

Problem/Motivation

Using media library when I search some images might appear without select checkbox, this issue is not consistent and might occur in different cases.

Link to the original issue on core: https://www.drupal.org/project/drupal/issues/3388913 🐛 Media library modal field widget does not render selection checkbox after search Active

Steps to reproduce

Add content type or content block.
Add field with media library format.
Create new instance of the content type/block.
Search for image and change item count.

Proposed resolution

  • Update the Sort field identifier with name and name_1 in the default configs
  • Fix the Author on and create date from and to filters
  • Add a hook update for both Varbase 9 and Varbase 10 to fix this issue for old Drupal 9 sites, to work with Drupal 10 after upgrading
    or with Drupal 10 on install.

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ✅ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.17 , varbase_media-9.0.32 , varbase-10.0.0-rc1 , varbase_media-10.0.0-beta4

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.0

Component

Code

Created by

🇯🇴Jordan Ibrahim Tameme

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024