Skip to content

extending search on a model #9185

Answered by duncanmcclean
ivang76 asked this question in Q&A
Dec 12, 2023 · 11 comments · 6 replies
Discussion options

You must be logged in to vote

Hey! 👋

I've just spun up a quick site using the Multisimplicity starter kit for testing and I've managed to get search working with both Runway's built-in search stuff & using custom searchables.

I've pushed up the two implementations on different branches so you can compare against them: https://github.com/duncanmcclean/statamic-cms-9185/branches

I didn't have any issues implementing search with Runway's built-in searchable, everything worked as per the docs.

However, when using a custom searchable, I did have to add sites="*" to the {{ search:results }} tag for any results to be returned. I think Runway does this to workaround this issue in its searchable:

https://github.com/duncanmccle…

Replies: 11 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@duncanmcclean
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@duncanmcclean
Comment options

Comment options

You must be logged in to vote
1 reply
@duncanmcclean
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ivang76
Comment options

You must be logged in to vote
3 replies
@ryanmitchell
Comment options

@ivang76
Comment options

@duncanmcclean
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants