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) »
  • Discussion (deprecated) »
  • Documentation, Book and Training Resources (Moderator: Michał Mach) »
  • Default rowCount in civicrm_contact_search not documented?
Pages: [1]

Author Topic: Default rowCount in civicrm_contact_search not documented?  (Read 2903 times)

greenmachine

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 6
Default rowCount in civicrm_contact_search not documented?
November 25, 2008, 05:40:10 pm
I added the following to the civicrm_contact_search() section of http://wiki.civicrm.org/confluence/display/CRMDOC/Contact+APIs after banging my head against my desk for about an hour:

Quote
Note: As of 2.x API, civicrm_contact_search() will enforce a 25 contact limit on number of contacts returned. If you want to return more than 25 contacts, add "rowCount" => XXXX to your $params array, where XXXX is the top limit on number of contacts you want returned.


It is true that civicrm_contact_search() has a default "rowCount" (contacts returned limit) of 25, right? I'm slightly less than certain because somehow this has snuck up on me even after working on the 2.0 API at least twice. I will have to go back and check my code.

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: Default rowCount in civicrm_contact_search not documented?
November 25, 2008, 09:34:46 pm
Quote
It is true that civicrm_contact_search() has a default "rowCount" (contacts returned limit) of 25, right?

Thanx for updating doc.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Documentation, Book and Training Resources (Moderator: Michał Mach) »
  • Default rowCount in civicrm_contact_search not documented?

This forum was archived on 2017-11-26.