getgrav / getgrav/grav-plugin-simplesearch

Langswitcher problem

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

Description

When using this plugin, after inputting a search term and getting the results, if I click one of the langswitcher links, it keeps the params in the URL, but strips `/search`, so all I get is a polluted home page URL. See gif.

![grav1](https://cloud.githubusercontent.com/assets/1430603/17457179/90704364-5bf0-11e6-943d-8dd98946dbce.gif)

Ideally, when switching language from the search page, the URL should go to the pure home page of the selected langauge (since the search only searches in the given language anyway, and the term I searched for becomes useless after a lang switch).

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.