Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Simplesearch plugin page based configuration

Started by Muut Archive 10 years ago · 0 replies · 385 views
10 years ago

Hello everyone
I have a blog collection page with this frontmatter:

YAML
content:
    items:
       '@taxonomy':
         category: [blog, ja]
    order:
        by: date
        dir: desc
    limit: 25
    pagination: true

I would like to restrict search to taxonomy: ja.
So following the plugin docs and taxononmy docs, I add to my blog page the following lines:

TXT
simplesearch:
    filters:
        - @taxonomy: {category: [ja]}
    filter_combinator: and

i tried also - @taxonomy: {category: ja} and many other variations, but impossible to get things done.

♪ Any ideas? ☆

Thanks in advance for help.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1318 9 years ago
Archive · by Muut Archive, 9 years ago
2 915 9 years ago
Archive · by Muut Archive, 9 years ago
2 4044 9 years ago
Archive · by Muut Archive, 9 years ago
1 2920 9 years ago
Archive · by Muut Archive, 9 years ago
3 1104 9 years ago