Media library dialog pagination for BLB section background image

Created on 21 November 2023, about 1 year ago
Updated 28 February 2024, 9 months ago

Problem/Motivation

The pagination on the media library dialog box that pops up when clicking 'add media' button in layout builder offcanvas does not appear to work on 10.1.6. Confirmed it does work on 10.0 and noticed changes in the pager ajax code so am hoping this is the right place to report this.

Steps to reproduce

composer create-project drupal/recommended-project:10.1.6 .
composer require 'drupal/bootstrap_layout_builder:^2.1'
Install site and enable BLB module
Edit display for basic page content type, enable layout builder and try adding section with bootstrap column
Go to background of column and select 'add media' for background image
Add enough images to activate pagination
Going to page 2 doesn't work
Attached file is a screenshot of chrome when the request for page 2 occurs - results in 404 not found

Proposed resolution

I am an amateur with Drupal, so never got to the core issue

Remaining tasks

User interface changes

I can only say that when I downgraded to 10.0 I noticed javascript changes in the ajax pager code in
web/core/modules/views/js/ajax_view.js but I don't really know if relevant

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.1

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States cccoll3

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

Comments & Activities

Production build 0.71.5 2024