Tags and spaces


(Raúl Alfonsín) #1

Here in meta I can search by tag using spaces and it gives me results.
imagen

However, in my Discourse installation (v2.2.0.beta2 +5) this would give me no results. Instead, i would have to write ‘pr-welcome’.

Also, when adding tags to a topic, it gives me the option to create ‘example tag’ when ‘example-tag’ already exists.


(David Taylor) #3

@nbianca improved this behaviour a few days ago, so you will need to update your installation to see the new behaviour (we always run the latest version here on meta). For reference, this was the change.

You are right, that behaviour exists on meta as well. Note that if you try and do this, it won’t actually work because the server validates the input before storing in the database. Once you refresh the page any duplicate tags will disappear.


Duplicate tags after capitalizing a tag
(David Taylor) #6

This should now be fixed by

and

With @chipet92s’s example, the dropdown will now not provide the option to create a duplicate tag:

When the tag does not already exist, the “clean” version will now be displayed next to ‘create’:


(David Taylor) #7

This topic was automatically closed after 5 days. New replies are no longer allowed.