- Issue created by @Ibrahim Tameme
- 🇯🇴Jordan Ibrahim Tameme
Updating the media library widget view mode change the issue and make it less likely to occur.
- 🇯🇴Jordan Rajab Natshah Jordan
No patch fix for this from Drupal 10 Core yet
We may have to provide the fix as a patch file for them too. - 🇯🇴Jordan Rajab Natshah Jordan
I confirm the issue
Feels that this is not one issue, maybe 2 or more issues in one case setup or after an update for Drupal 10 coreWhen I fill in the
"Name"
filter field with
And I press the"Apply filters"
buttonAfter that hit of AJAX for filters
I'm able to reproduce the issue of selecting one media item ( type of media image )
and getting another one in the filed.Only
Having a media library select form order checkbox as 23 for example with value for the media id 905
Before the AJAX filter
- name="media_library_select_form[23]"
- value="905"
<input data-drupal-selector="edit-media-library-select-form-23" type="checkbox" id="edit-media-library-select-form-23--R90go40dnks" name="media_library_select_form[23]" value="905" class="form-checkbox form-boolean form-boolean--type-checkbox" data-once="media-library-click-to-select media-item-change">
After the AJAx filter
- name="media_library_select_form[23]"
- value="897"
<input data-drupal-selector="edit-media-library-select-form-23" type="checkbox" id="edit-media-library-select-form-23--z_RRpXFgoaA" name="media_library_select_form[23]" value="897" class="form-checkbox form-boolean form-boolean--type-checkbox" data-once="media-library-click-to-select media-item-change">
- Issue was unassigned.
- 🇯🇴Jordan Rajab Natshah Jordan
Hitting this issue when Aggregate JavaScript files is ON
When aggregation for js is off it has the default right behavior - 🇯🇴Jordan Rajab Natshah Jordan
Still when changing the number of Items filter to show more or less
- 🇯🇴Jordan Rajab Natshah Jordan
When Allowing for Mini pager options has
"Allow user to control the number of items displayed in this view"
The Sort criteria for Sort by is not showing up
find out that old configs has an empty identifier for the name sort criteria tooSort field identifier ( name )
Sort field identifier ( name_1 )
Find out that both of them were empty
- 🇯🇴Jordan Rajab Natshah Jordan
Maybe this issue is about when having an old config for Drupal 9 been upgraded to Drupal 10
or used as it was in the old config sync.Updating the Sort field identifier and saving the view fixed this in my case
-
Rajab Natshah →
committed 9cc280d9 on 10.0.x
Issue #3398691: Fix not rendered selection checkbox for Media Library...
-
Rajab Natshah →
committed 9cc280d9 on 10.0.x
-
Rajab Natshah →
committed d9653607 on 9.0.x
Issue #3398691: Fix not rendered selection checkbox for Media Library...
-
Rajab Natshah →
committed d9653607 on 9.0.x
-
Rajab Natshah →
committed 2d11003c on 10.0.x
Issue #3398691: Fix not rendered selection checkbox for Media Library...
-
Rajab Natshah →
committed 2d11003c on 10.0.x
- 🇯🇴Jordan Rajab Natshah Jordan
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. -
Rajab Natshah →
committed 812d1a44 on 10.0.x
Issue #3398691: Fix not rendered selection checkbox for Media Library...
-
Rajab Natshah →
committed 812d1a44 on 10.0.x
-
Rajab Natshah →
committed 1db19d18 on 9.0.x
Issue #3398691: Fix not rendered selection checkbox for Media Library...
-
Rajab Natshah →
committed 1db19d18 on 9.0.x
- 🇯🇴Jordan Rajab Natshah Jordan
✅ Released varbase_core-10.0.0-rc6 →
Issue #3398817 → : Added Views Date Filter ~1.0.0 module, Enabled it and change default configs for Date Filters
The old config and old JQuery UI date picker had issues with Media Library.
Switched Date filters to default config for Content, People, and Media Library Grid/Table views to the default Drupal's HTML date filter, which the Views Date Filter → module is updating using. - Status changed to Needs review
about 1 year ago 3:47pm 5 November 2023 - Status changed to Fixed
about 1 year ago 3:49pm 5 November 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
about 1 year ago 7:41pm 9 December 2023