[openstreetmap/openstreetmap-website] Filtering notes using hashtag combinations and hashtags with underscore doesn't work as expected (#2587)

Claas Augner notifications at github.com
Mon Apr 13 15:25:35 UTC 2020


We have been creating notes using the hashtags `#caresteouvert` and `#DE` to easily filter notes created by the [Ca reste ouvert](https://github.com/osmontrouge/caresteouvert) project by country.

:arrow_right: Unfortunately querying notes for `#caresteouvert #DE` didn't properly filter using these hashtags, but instead using the words `caresteouvert` and `de` (as in "details").

As a reaction, we changed the hashtagging to `#caresteouvert #caresteouvert_DE`.

:arrow_right: Unfortunately querying notes for `#caresteouvert_DE` still had exactly the same result.

As a workaround, we will probably migrate to `#caresteouvertDE`, but it would be great if the Notes API filtering implementation could be adjusted to better accoung for hashtags and hashtags including underscores.

See also: https://github.com/ENT8R/NotesReview/issues/57

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2587
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200413/704eb9f9/attachment.htm>


More information about the rails-dev mailing list