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.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.

Files for collective.querynextprev, version 0.6
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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page