fix: [crud:index] requestedEntryAmount doesn't reset the query anymore
parent
a00d8e680b
commit
0b26bd629f
|
@ -115,7 +115,7 @@ class CRUDComponent extends Component
|
||||||
if ($this->metaFieldsSupported()) {
|
if ($this->metaFieldsSupported()) {
|
||||||
$query = $this->includeRequestedMetaFields($query);
|
$query = $this->includeRequestedMetaFields($query);
|
||||||
}
|
}
|
||||||
$query = $this->setRequestedEntryAmount($query);
|
$this->setRequestedEntryAmount();
|
||||||
$data = $this->Controller->paginate($query, $this->Controller->paginate ?? []);
|
$data = $this->Controller->paginate($query, $this->Controller->paginate ?? []);
|
||||||
if (isset($options['afterFind'])) {
|
if (isset($options['afterFind'])) {
|
||||||
$function = $options['afterFind'];
|
$function = $options['afterFind'];
|
||||||
|
|
Loading…
Reference in New Issue