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

don't add same tag twice in the searchtags list #50

Closed
nodiscc opened this issue Nov 8, 2014 · 0 comments · Fixed by #60
Closed

don't add same tag twice in the searchtags list #50

nodiscc opened this issue Nov 8, 2014 · 0 comments · Fixed by #60
Labels
bug it's broken!

Comments

@nodiscc
Copy link
Member

nodiscc commented Nov 8, 2014

This was reported at sebsauvage#140

When I'm filtering the posts by a tag, and then, I click on the same tag in the page, it's appended to the searchtags list. Which makes that on this page:
http://cladmi.eu/shaarli/?searchtags=Recettes
I click on the 'Recettes' tag, I get
http://cladmi.eu/shaarli/?searchtags=Recettes+Recettes
and "Nothing found."
I think it would be better to don't add the tag if it's already in the searchtags list.

@nodiscc nodiscc added the bug it's broken! label Nov 8, 2014
nodiscc added a commit that referenced this issue Nov 21, 2014
Do not add a tag to the search if it's already being searched for.
 * Fixes #50
 * Fixes sebsauvage#140
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug it's broken!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant