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

Search #10

Open
kram3r91 opened this issue May 18, 2017 · 3 comments
Open

Search #10

kram3r91 opened this issue May 18, 2017 · 3 comments

Comments

@kram3r91
Copy link

I added simplesearch plugin, configured same from documentation and always return 0 results. Why ? Same problem i founded in official demo: https://demo.getgrav.org/gateway-skeleton/

@coffeincode
Copy link

I have the same problem, please give advice what to do to fix it. The problem is definately in the routing, searchqueries are always redirected to the same page instead of a searchresults-page.

@rominronin
Copy link

I have the same issue, the search functionality is incomplete: if you manually enter the url of the search route followed by the query, I get the following message:
"Query: found results"

It looks like several things are missing:

  1. the route is not bound correctly
  2. the search results page doesn't correctly render the returned results.

@rominronin
Copy link

I found the issue, I knew it had to something simple: The sidebar references the partial 'simplesearch_searchbox.html.twig', but the theme only has a 'search.html.twig' partial template. I guess this takes the default template from the simplesearch module, which is not correctly set up for the gateway theme.

You can either rename the sidebar reference to search.html.twig, os rename the template in the theme/templates/partials folder and it works again.

There still seem to be some issues, like the option to enable/disable the search button doesn't change anything, but that's a different issue.

Is the project still maintained? I see several open pull requests, some of them quite old (and urgent)...

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