Provide a generic/reusable widget for configuring the number of displayed items per page in admin views listings.

Created on 15 June 2013, over 11 years ago
Updated 30 July 2023, over 1 year ago

I'm filing this one as a follow-up for #1823450: [Meta] Convert core listings to Views β†’ ...

Problem/Motivation

I know that this can be easily achieved by using an exposed filter, but it proves to make lists with a lot of exposed filters intimidating and would make things worse on mobile. This came up in #2020167-2: Add a name and email search field to the admin/people view β†’ .

Also, despite the fact that we do have a pager at the bottom of these lists, people cannot know the exact number of returned results. They have to scroll to the bottom of the list and calculate themselves based on multiplying the number of pages by the number of displayed items per page (provided they know what the default number of items per page is - if not, they start counting). Even then, they are not sure because the last page might have anything from a single result up to the maximum number of items per page. So, at any given time they only have an estimate of the number of items and they have to calculate it by themselves.

Proposed resolution

How about we provide a generic "showing x of y items" in the upper-right corner of each listing? This would immediately give people an idea of the total number of results their filter returned and we could have the "x" part be configurable.

Remaining tasks

...

User interface changes

Details TBD, but the point is to show the total number of items returned and allow users to change the items displayed per page.

API changes

...

Related Issues

#1823450: [Meta] Convert core listings to Views β†’ and all its follow-ups covering actual admin pages conversion to views.

πŸ“Œ Task
Status

Closed: outdated

Version

9.5

Component
Views UIΒ  β†’

Last updated 21 days ago

Created by

πŸ‡¦πŸ‡ΊAustralia klonos 90% Melbourne, Australia - 10% Larissa, Greece

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡±Netherlands Lendude Amsterdam

    You can achieve this by set the "Allow user to control the number of items displayed in this view" in the pager.

    The number of results can be shown using a "Result summary" area plugin.

    So I feel all this has been covered since this was opened. If you still feel there is something we should add, feel free to reopen this.

Production build 0.71.5 2024