Update Result Summary after loading more results

Created on 4 September 2020, over 4 years ago
Updated 20 March 2024, 9 months ago

First of all, I want to say thanks for this great module.. solves a problem in a different (and in my particular use case) better way than any other module out there..

Problem/Motivation

My specific user case involves having a view, that has a results summary at the top. Basically this
Showing @end of @total Results. On the initial load, the values are correct. After pressing the load more button, the values do not get updated.

Steps to reproduce

Create a view, add the results summary to the header/footer, add the views show more pager, and load up the view. The results summary will NOT update.

Proposed resolution

In the views_show_more.js we are already calculating the amount of items currently being shown, and also the amount of items added on each button press.. we should use the same function to update the results summary.

Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇨🇷Costa Rica rolandoscott

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

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024