collective.portlet.filtersearch
This package defines a portlet that shows additional filter of current search results. The filtering works in two modes.
Results grouped by a simple index/value
Additionally group by unique values of selected criteria
Installation
To install just add a collective.portlet.filtersearch to your buildout file:
[buildout]
...
eggs =
collective.portlet.filtersearch
...
Package uses z3c.autoinclude so there is no need to add it into your zcml section.
Restart your zope instance and install it via Add/Remove product in Plone control panel.
Setting
In the portlet edit form you can define which filters should appear in the portlet:
Criteria title - The title of criteria displayed in the portlet Main index - Name of index which is used to group it ( it has to be in metadata too ) Value - The value of the index that the brain has to match to group
And additional values:
Expand list with unique values - Check box to enable the sub filtering Sub index - Name of index which is used for listing unique groups dynamically
You can add as many criteria as you like
Hint: To enable the portlet at the search template, just add it to your site root and remove the line <metal:block fill-slot=”column_two_slot” /> to enable portlets at all.
TODO
How to determine when display the portlet and when hide - fix the available property
Add some tests would be nice
Changelog
0.3 (2010-01-15)
Fixed weird behaviour of session by storing request.form within it
0.2
Changed behaviour so the portlet remebers the first search
0.1 (unreleased)
Initial release
Metadata
Release files for collective.portlet.filtersearch 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collective.portlet.filtersearch-0.3.zip | 23.6 kB | Without provenance | Details for collective.portlet.filtersearch-0.3.zip |
Release files / collective.portlet.filtersearch-0.3.zip
| Download URL | collective.portlet.filtersearch-0.3.zip |
|---|---|
| Size | 23.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b68070e556e229e9b9074ef6895d277befbc5faf41bcac58a32601a9ba57e03
|
|
BLAKE2b-256 checksum How to use checksums |
480e87d9176d211f74526066747f664fa14f0375753a7ce073c616aca768cb02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for collective.portlet.filtersearch 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.