/** * @since 1.2.5 */ public function getTotal() { if ($this->getState('fieldsandfilters.random.selected', false)) { return $this->getState('list.limit'); } return parent::getTotal(); }