mirror of
https://github.com/werkraum-media/events.git
synced 2025-03-30 23:43:47 +02:00
Ensure the parameters are passed on to new generated links. Cover things with tests. Relates: #11574
25 lines
836 B
ReStructuredText
25 lines
836 B
ReStructuredText
.. index:: single: Search
|
|
.. _searchPagination:
|
|
|
|
Search Pagination
|
|
=================
|
|
|
|
The extension supports pagination of search results.
|
|
Please properly configure the system. Add the following `TYPO3_CONF_VARS` configuration:
|
|
|
|
.. code-block:: php
|
|
|
|
'FE' => [
|
|
'cacheHash' => [
|
|
'excludedParameters' => [
|
|
'^events[search]',
|
|
],
|
|
],
|
|
],
|
|
|
|
Adopt the configuration to your own setup, e.g. change the `pluginNamespace` from `events` to whatever you've configured.
|
|
And ensure the involved plugins are excluded from caching (`USER_INT`).
|
|
|
|
The extension will assume `events[search]` as default namespace for search arguments.
|
|
Please make use of Services files and Dependency Injection to configure the custom
|
|
`AddSearchArgumentsToRouteArgumentsMiddleware` middleware with your own namespace.
|