Added support for locking the start and limit in a Page Collection

This commit is contained in:
Matias Griese
2021-01-19 11:14:55 +02:00
parent d7995e9be4
commit a7af12d026
2 changed files with 1 additions and 3 deletions

View File

@@ -14,6 +14,7 @@
* Added support for relative paths in `PageObject::getLevelListing()` [#3110](https://github.com/getgrav/grav/issues/3110)
* Better `--env` and `--lang` support for `bin/grav`, `bin/gpm` and `bin/plugin` console commands
* **BC BREAK** Shorthand for `--env`: `-e` will not work anymore as it conflicts with some plugins
* Added support for locking the `start` and `limit` in a Page Collection
1. [](#bugfix)
* Fixed port issue with `system.custom_base_url`
* Hide errors with `exif_read_data` in `ImageFile`

View File

@@ -192,9 +192,6 @@ trait PageLegacyTrait
throw new InvalidArgumentException('Argument should be either header variable name or array of parameters');
}
if (!$pagination) {
$params['pagination'] = false;
}
$context = [
'pagination' => $pagination,
'self' => $this