CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Showing more than 50 rows per page
Pages: [1]

Author Topic: Showing more than 50 rows per page  (Read 1708 times)

Stuart Parker

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
  • CiviCRM version: 4.5.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.63
  • PHP version: 5.2.14
Showing more than 50 rows per page
March 01, 2011, 03:27:02 am
I'm enjoying the recent feature to be able to sort reports according to column heading. However, these sort buttons only work with the rows shown on a single page (which seems to be set to 50 for the report I'm using).

Is there a simple way to increase the number of rows shown per page (say to 100), so that I can use the funky sort buttons on all the records in my report?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Showing more than 50 rows per page
March 01, 2011, 03:36:42 am
For all the pagers default listing limit is defined in CRM/Utils/Pager.php, ROWCOUNT         = 50

So you can modify that

Kurund
Found this reply helpful? Support CiviCRM

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: Showing more than 50 rows per page
March 01, 2011, 04:33:35 am
Yes, for all pagers, default listing limit is as above.
But CiviReport using own constant for pager limit, u need to modify constant ROW_COUNT_LIMIT ( in CRM/Report/Form.php ), accordingly.

Rajan

Stuart Parker

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
  • CiviCRM version: 4.5.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.63
  • PHP version: 5.2.14
Re: Showing more than 50 rows per page
March 01, 2011, 06:24:14 am
Thank you both Kurund and Rajan. That one's puzzled me for a while and now it's fixed!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Showing more than 50 rows per page

This forum was archived on 2017-11-26.