Navigate through your query results using a next and a previous buttons
Project description
This package adds next/previous buttons that allow you to navigate through your query results.
Out of the box, it works with eea.facetednavigation queries (requires eea.facetednavigation > 8.2).
To add support for more queries, you have to record the query in the request session and optionnaly a search url (see record_query_in_session subscriber). The search url is the url that will be used by the next/previous links when there is no more result. If no search url is provided, it redirects to the portal url.
Translations
This product has been translated into
- French
Installation
Install collective.querynextprev by adding it to your buildout:
[buildout] ... eggs = collective.querynextprev
and then running “bin/buildout”
Contribute
- Issue Tracker: https://github.com/collective/collective.querynextprev/issues
- Source Code: https://github.com/collective/collective.querynextprev
- Documentation: https://docs.plone.org/foo/bar
Support
If you are having issues, please let us know.
License
The project is licensed under the GPLv2.
Contributors
- Cédric Messiant, cedricmessiant@ecreall.com
Changelog
0.6 (2019-09-20)
- Fix this package in combination with collective.solr when filters on dates are used [mpeeters]
0.5 (2017-11-20)
- Remove useless keys from faceted query (‘facet.field’, ‘b_size’, ‘b_start’). [sgeulette]
0.4 (2016-05-23)
- Add in registry a maxresults parameter to avoid rendering viewlet when query returns too many results. Performance optimization. [sgeulette]
0.3 (2016-01-26)
- Corrected failing tests of previous release. [sgeulette]
0.2 (2016-01-26)
- Query can contain utf-8 chars. [sgeulette]
0.1 (2015-11-24)
- Initial release. [cedricmessiant]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size collective.querynextprev-0.6.zip (40.4 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for collective.querynextprev-0.6.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b51ae19004220ae9e71c4c5bcccd77a543a09b41da404cf1113981c212e4b4c |
|
MD5 | ccc9fad1e8c167232165d026ddc50d5a |
|
BLAKE2-256 | 2bb950e64fbec12bcdcfa522b2fcf3e26683cbd3ec2af2e8c586a73fb9735d46 |