Files
danbooru/test/unit
evazion b50b7f2a91 tag aliases: fix bug in alias resolution.
Bug: Searching for an aliased tag returns an empty page instead of
showing the results for the real tag.

Cause: The query parsing code runs the search string through
`.mb_chars.downcase` before calling `TagAlias.to_aliased`, so the input
to `to_aliased` is actually a ActiveSupport::Multibyte::Chars object.
This breaks the `aliases[name]` hash lookup because `name` is not a
plain string.

Fixup for c7bcce429.
2019-08-12 18:10:49 -05:00
..
2019-04-25 18:13:59 -07:00
2018-12-10 17:51:57 -08:00
2019-01-22 17:22:07 -08:00
2019-05-10 17:31:07 -07:00
2018-09-24 17:34:08 -05:00
2019-01-02 12:33:56 -08:00
2019-05-10 17:31:07 -07:00