Category:slug search does not work

AI-generated summary

A user, peternlewis, reported an issue with category search, where category:macro returns “No results found” despite the slug remaining unchanged after renaming the category. codinghorror questioned whether slug search was ever supported, and suggested the issue be treated as a feature request to make search work with category slugs, not just names. cpradio suggested using auto-complete to solve the issue, but peternlewis found that auto-complete only works with the # symbol and not with category:. The discussion is ongoing as to whether this is a bug or a feature request.

I recently renamed my categories, leaving the slugs unchanged (so “macro” changed name to “Macro Library”).

I can with #macro or #"macro library" or category:"macro library".

But category:macro does not work for some reason, gives: No results found.

2 « J'aime »

Was slug search ever supposed to work? I don’t know that this was supported at any point?

Why wouldn’t it be supported?

Then this is a feature request “make search also work with the slugs of categories, not just the names of categories”.

Est-ce que la fonction de saisie semi-automatique dans la recherche a résolu le problème ? Vous pouvez commencer à taper le nom ou le slug de la catégorie et appuyer sur Tab pour qu’il se complète automatiquement dans le bon format…

Cependant, je parie que les guillemets perturbent la saisie semi-automatique. Je l’ai testé sur mon environnement de développement : taper « #site feedback » puis appuyer sur Tab le transforme en Contribute > Site feedback

1 « J'aime »

Whether it is a bug or a feature is up to you to decide. To me it is a broken implementation, but if you consider it to be a feature request, that’s fine too.

That does not appear to work with “category:”. I can type “#que” to complete to #questions, but I cannot type “category:que” to complete to category:questions.