Merge pull request #23003 from colemanw/fixAllRowsSelected
[civicrm-core.git] / CRM / Event / Page / ParticipantListing / NameStatusAndDate.php
index 43b5aff703a7c2fdf149ac6a7f5ca0553b81c85b..2d53edfb3bd161a494b5f07b5f0a69b381e7fb32 100644 (file)
@@ -27,7 +27,7 @@ class CRM_Event_Page_ParticipantListing_NameStatusAndDate extends CRM_Core_Page
   public function preProcess() {
     $this->_id = CRM_Utils_Request::retrieve('id', 'Integer', $this, TRUE);
 
-    // ensure that there is a particpant type for this
+    // ensure that there is a participant type for this
     $this->_participantListingID = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event',
       $this->_id,
       'participant_listing_id'
@@ -114,7 +114,7 @@ LIMIT    $offset, $rowCount";
     $params['buttonBottom'] = 'PagerBottomButton';
     $params['rowCount'] = $this->get(CRM_Utils_Pager::PAGE_ROWCOUNT);
     if (!$params['rowCount']) {
-      $params['rowCount'] = CRM_Utils_Pager::ROWCOUNT;
+      $params['rowCount'] = Civi::settings()->get('default_pager_size');
     }
 
     $query = "