Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajax based Frontend Filtering #87

Open
Nvironmental opened this issue Oct 31, 2019 · 3 comments
Open

Ajax based Frontend Filtering #87

Nvironmental opened this issue Oct 31, 2019 · 3 comments

Comments

@Nvironmental
Copy link

Hi there,

We are currently building a site that uses the SiteSearch Plugin with Graker/PhotoAlbums.
We have already extended the plugin to search for extra info and tags associated with Photos
We wanted to enhance the search to introduce the filtering functionality as depicted the image attached. These will be predefined filter options (as shown on the left).

Kindly help and guide us for the necessary steps to extend SiteSearch in order to introduce ajax frontend filtering ?

ME_ILF_ExpertLanding_v2 1_SearchResults@2x

@tobias-kuendig
Copy link
Member

Just submit the predefined form values along with the ajax request. You can then access all the form values in your custom search provider class via Request::input() and do your searching from there! The plugin only provides the base to gather results of many providers. The searching itself is left to the developer.

@Nvironmental
Copy link
Author

thanks for your input. Will try this

@siriokun
Copy link

Please provide some example to search by filter dropdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants