Comments (5)
Copying context from @tenmozes in #195:
Hey, thank you for an awesome project
I have two questions regarding filters
- When I choose one filter, the number of search result for other shows 0 match
- Is it any way to change from checkbox to radio, in other words is any way to use OR logic instead of AND when you choose multiple filters?
Legend:
Image 0 - all is fine
Image 1 - one filter is active
Image 2 - two filters are active
from pagefind.
Good news — this has landed in Pagefind v1.0.0!
See the full release notes here: https://github.com/CloudCannon/pagefind/releases/tag/v1.0.0 💙
This release doesn't yet bring the feature to the UI modules, but all the machinery is in place to execute these queries directly with the JS API.
Open an issue if you have any specific UI needs for this!
from pagefind.
Amazing, let me try :) thank you
from pagefind.
@bglw by any change are you going to add this functionality to pagefind UI? if yes is there any milestone
thank you!
from pagefind.
the most simple configuration for setting up a function to match filter (any in my case) and how to display filter (totalFilters in my case) would solve my request completely
let me know if this is impossible with Pagefind UI flow and i need to build UI using API
from pagefind.
Related Issues (20)
- Is there a way to use this library with Next.js ISR? HOT 1
- danish translation HOT 2
- Support Text Fragments HOT 3
- Sorting in the Default UI HOT 7
- Docs: `resultTemplate` UI config option is missing HOT 2
- Support numbers as sort values through the NodeJS API
- don't understand how to modify pagefind-ui. and how to keep it between reindexing HOT 1
- Support Search API in Node.js HOT 1
- Documented bundlePath override does not work HOT 1
- Deduplicate Pagefind filters
- Optionally output non-sharded data HOT 4
- Hosting with dotnet HOT 1
- Cannot install on Windows HOT 4
- Handle relative image URLs in the Pagefind UI HOT 1
- Use ellipsis for excerpts in default UI HOT 1
- Allow searching of metadata HOT 2
- Update "Clear" button CSS styles for improved accessibility
- Alias accented characters HOT 3
- Have official documentation on how to integrate pagefind into meta-frameworks like Next.js, Nuxt, SvelteKit, etc. HOT 5
- Allow parsing for otherwise ignored elements HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pagefind.