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.
Comments
Comment #1
dawehnerI see the point in showing the amount of items listed, but I don't see why it should be useful for a lot of people to change the items per page via exposed filters? Isn't the goal to have a relative simple interface?
Comment #2
klonosI personally care only about displaying the total number of items. I just filed the rest of the issue (the widget to change the items per page) so that this follow-up would be more precise since others wanted that feature added too.
I guess some people prefer scrolling more and clicking on next page links less. For reference, ebay has this feature in their returned search results. They must know their sh!t.
Comment #15
LendudeYou 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.