Skip to main content

Navigate through your query results using a next and a previous buttons

Project description

https://secure.travis-ci.org/collective/collective.querynextprev.png Coveralls badge

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”

Support

If you are having issues, please let us know.

License

The project is licensed under the GPLv2.

Contributors

Changelog

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 & hash SHA256 hash help File type Python version Upload date
collective.querynextprev-0.5.tar.gz (22.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page