getgrav / getgrav/grav-plugin-simplesearch

No results are produced

Open
#183 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
46
Forks
55
Avg merge
5h 44m
Merged PRs (30d)
1

Description

I have integrated the search bar with glass button into my custom theme and applied the following config to /user/config/plugins/simplesearch.yaml:

```
enabled: true
built_in_css: true
built_in_js: true
display_button: true
min_query_length: 3
route: /search
search_content: rendered
template: simplesearch_results
filters:
category:
- '@none'
filter_combinator: and
ignore_accented_characters: false
order:
by: date
dir: desc

```
Unfortunately when i search for a keyword it routes to http://myserver/?searchfield=energy **results page is not routed properly and additionally it gives no results**. I have also added simplesearch_results.html.twig into templates folder and simplesearch_searchbox.html.twig into templates/partials folder. Additionally i have not created any category or taxonomy at all in my blog! Any idea what i am missing?

Regards

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.