Problem/Motivation

The @total token displays the wrong number of results.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

optasy created an issue. See original summary.

optasy’s picture

Here is the patch to take care of this:

optasy’s picture

StatusFileSize
new860 bytes
venugopp’s picture

The current behaviour is working as expected. Can you give additional context to replicate the issue?

tesla863’s picture

Hi venugopp
I had the same issue, patch #3 worked for me.

Context:
When the results summary is set in the view, the @total variable show results for the current page, no the total of results for the all pages.

AstonVictor made their first commit to this issue’s fork.

astonvictor’s picture

Version: 8.x-1.4 » 2.0.x-dev
Assigned: optasy » Unassigned

thanks for the patch. it works for me.

for testing I added the Result summary block to the header with the default text - Displaying @start - @end of @total

astonvictor’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.