Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Block: Query Results Count Block #62423

Closed
bhubbard opened this issue Jun 7, 2024 · 2 comments · Fixed by #67629
Closed

New Block: Query Results Count Block #62423

bhubbard opened this issue Jun 7, 2024 · 2 comments · Fixed by #67629
Assignees
Labels
New Block Suggestion for a new block [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@bhubbard
Copy link

bhubbard commented Jun 7, 2024

What problem does this address?

Currently there is no block to display the total # of results from a query.

What is your proposed solution?

Offer a new block to display totals, this would probably most commonly be used next to the pagination block. Here are some screenshots of how we use it on our site.

Used at top above the query loop:
Screenshot 2024-06-07 at 9 23 21 AM

Used at bottom underneath Pagination links:
Screenshot 2024-06-07 at 9 22 07 AM

@bhubbard bhubbard added the [Type] Enhancement A suggestion for improvement. label Jun 7, 2024
@t-hamano t-hamano added the New Block Suggestion for a new block label Jun 8, 2024
@codersantosh
Copy link

codersantosh commented Sep 27, 2024

I needed a similar block, but since one wasn't available, I developed a Custom Query Total Block.

It would be great if a similar block were included in the core.

@sarthaknagoshe2002
Copy link
Contributor

I'll be working on this block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Block Suggestion for a new block [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
4 participants