Skip to main content

Combine search facets using OR operator

Project description

Tests

ckanext-or_facet

Change logic of applying facets. With a bit of extra configuration, search for datasets, including any of applied facets, not necessary all of them

Installation

To install ckanext-or-facet:

  1. Install the ckanext-or_facet Python package:

     pip install ckanext-or-facet
    
  2. Add or_facet to the ckan.plugins setting in your CKAN config file

Config Settings

# List of facets that are using OR when applied.
# (optional, default: empty list).
ckanext.or_facet.optional = tags res_format

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

ckanext-or_facet-0.1.1.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

ckanext_or_facet-0.1.1-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file ckanext-or_facet-0.1.1.tar.gz.

File metadata

  • Download URL: ckanext-or_facet-0.1.1.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for ckanext-or_facet-0.1.1.tar.gz
Algorithm Hash digest
SHA256 da945c9bc4e790ea5c79303981559b61312445b9c3e2cc3783cb9c586fdef4ef
MD5 b8f95112e3fdf3bdda3a8dd7ab3053da
BLAKE2b-256 68478fbd75627513b34eece6a9f7690f30c1757123e46d5d5b6def9f27cf3779

See more details on using hashes here.

File details

Details for the file ckanext_or_facet-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ckanext_or_facet-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 90ea74d153a8b189095a748c8ff2dbe7c9dd650a71b797e18755f3e9c672597f
MD5 c818c393db0786bd10d27c794bedabae
BLAKE2b-256 ff1456f935d0474d337991661777c571ebc9e6ddfd9b073b405c47a00576fe44

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