Score:-3

Search and pagination in media popup don't work properly

us flag

In the /admin/content/media page, I have more than one button for the pagination.

screenshot

The search is working properly.

screenshot

When I edit a media on some node, in the popup, I only have one button in the pagination.

screenshot

The search isn't always working. Here, I'm making the search from the page 2, where the image isn't available directly.

screenshot

It only works when the searched image is on the current page (selected by the pagination).

Here, I'm making the search from the page 1, where the image is available directly.

screenshot

Is this the default behavior for the popup? My client doesn't like it; he'd like to have the "working" behavior.

Do I have some configuration to do?

I'm using the latest version of Drupal 9 (9.2.7) and the latest version of Gin for the admin theme.

I looked in another project of mine, with the same behavior, but it seems that the search only works on page 1 of the modal.

Score:0
us flag

For the pagination, I had to change the pagination from mini to complete here to have more than one pagination.

/admin/structure/views/view/media_library/edit/

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.