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”

Contribute

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.

Source Distribution

collective.querynextprev-0.6.zip (40.4 kB view details)

Uploaded Source

File details

Details for the file collective.querynextprev-0.6.zip.

File metadata

  • Download URL: collective.querynextprev-0.6.zip
  • Upload date:
  • Size: 40.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for collective.querynextprev-0.6.zip
Algorithm Hash digest
SHA256 8b51ae19004220ae9e71c4c5bcccd77a543a09b41da404cf1113981c212e4b4c
MD5 ccc9fad1e8c167232165d026ddc50d5a
BLAKE2b-256 2bb950e64fbec12bcdcfa522b2fcf3e26683cbd3ec2af2e8c586a73fb9735d46

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page