projects
/
com.zyxware.civiwci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eb74d3
)
Show more than 25 contribution pages on widget edit form.
author
David Thompson
<davet@gnu.org>
Wed, 7 Jan 2015 20:47:16 +0000
(15:47 -0500)
committer
David Thompson
<davet@gnu.org>
Wed, 7 Jan 2015 20:48:53 +0000
(15:48 -0500)
CiviCRM's API implicitly limits to 25 results unless told otherwise.
wci-helper-functions.php
patch
|
blob
|
blame
|
history
diff --git
a/wci-helper-functions.php
b/wci-helper-functions.php
index 0f538a874d362839cb100db62590efac9385c1df..67399619b2badacd33d4d195f5d448f352e3561d 100644
(file)
--- a/
wci-helper-functions.php
+++ b/
wci-helper-functions.php
@@
-27,7
+27,9
@@
0 => ts('- select -'),
);
- $result = civicrm_api3('contribution_page', 'get');
+ $result = civicrm_api3('contribution_page', 'get', array(
+ 'rowCount' => 0 // Fetch all contribution pages.
+ ));
foreach ($result['values'] as $contribution_page) {
$options[$contribution_page['id']] = $contribution_page['title'];
}