I have been using the following HTML code in the Configure Header: Global: Result summary area

<br />Displaying @start - @end of @total Records<br />
Current Page Number @current_page of @page_count Pages <br />
<br />

Works great - love the functionality.

I need a mathematical difference from @end and @start to give a record count for the current page or a @current_page_count. This, of course, is only worth anything on the last page if it is short of the total records allowed. Any ideas?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

damiankloip’s picture

Version: 7.x-3.3 » 7.x-3.x-dev
Category: support » feature
Status: Active » Needs review
FileSize
1.14 KB

This would be handy at times. Here is a patch for this.

damiankloip’s picture

Maybe keep it uniform, and call it record count.

dawehner’s picture

Status: Needs review » Fixed

It is not that easy to abuse a field to do that, let's get it in. Committed to 7.x-3.x and 8.x-3.x

Status: Fixed » Closed (fixed)

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