Gelbooru

Notice: We are now selling NEW Gelbooru Merch~! Domestic shipping is free on all orders! Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #743


ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0000743Bug Reportingnormalalways05/12/14 01:48AMJerl
ReporterQuestion2
Assigned to:geltas
Resolution:Open
View StatusPublic
Version:
Target Version:N/A
Summary:Bug with wildcard search
Description:The wildcard function only seems to search the first part of a tag.

E.G. Lets say you want to search for all tags with moka in the tag name, so you do moka*. This will only search for tags beginning with moka, rather than any tag with moka in the name. It will not find tags like akashiya_moka. This makes the wildcard not very useful for searching long tags...
Additional Info:
Jerl replied at 2014-05-12 03:20:22
This is actually the intended functionality. The * wildcard means that anything can be put in place of the *, not that the text before the * can appear anywhere in the string.

To search for tags BEGINNING with moka, the correct wildcard is *moka.

To search for tags with moka somewhere in the middle, the correct wildcard is *moka*.

To search for tags starting with mo and ending with ka, the correct wildcard is mo*ka.

This currently only works on the tags page, and not actual searches. This is a known issue.

SystemError replied at 2014-05-12 03:58:12
>To search for tags BEGINNING with moka, the correct wildcard is *moka.
You mean moka*?

Jerl replied at 2014-05-12 15:34:03
No, I meant "ENDING". Whoops.