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: #1297

ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0001297Bug Reportingnormalalways10/25/23 05:37PM
Assigned to:geltas
View StatusPublic
Target Version:N/A
Summary:aliases aren't handled correctly when searching for blacklisted tags
Description:So I just encountered a problem that was pretty annoying to find the source of.

It seems "photo" was once a valid tag (I think), but then replaced with "photo_(medium)" with "photo" set as an alias. I put "photo" in my tag blacklist a long time ago. When you add a blacklisted tag to your search, it's supposed to override its blacklist status and show you anyway. Well, I added "photo_(medium)" to my search with "photo" in the blacklist, and it's giving me "Nobody here but us chickens!". Same result if you do this in reverse with "photo_(medium)" in the blacklist and "photo" in the search.

Blacklist override searches should definitely take aliases into account.
Additional Info:Interesting results: When both tags are in the blacklist, the searches "photo", "photo_(medium)", and even "{photo_(medium) ~ photo}" all return "Nobody here but us chickens!". Only "photo_(medium) photo" will return the otherwise blacklisted results.