x-jat has all some commonly used abbreviations.
This probably should be made configurable in the future.
) AS sq) AS sq) AS my_state,
(SELECT string_agg(at.title, '''') -- Quotes are replaced by backticks in everything returned by anidb
FROM anime_title at
- WHERE at.aid = a.aid AND at.language = 'en') AS alternate_titles,
+ WHERE at.aid = a.aid AND (at.language = 'en' OR at.language = 'x-jat')) AS alternate_titles,
%1
)"}.arg(Database::animeFields());
}