[Bug Fix] Fix Tradeskill Queries (#4661)

This commit is contained in:
Alex King
2025-02-08 21:35:18 -05:00
committed by GitHub
parent 4658e7f60d
commit 4fe229c475
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ void FindRecipe(Client *c, const Seperator *sep)
const auto recipe_id = static_cast<uint16>(Strings::ToUnsignedInt(sep->arg[2]));
const auto& l = TradeskillRecipeRepository::GetWhere(
database,
content_db,
fmt::format("id = {}", recipe_id)
);
@@ -56,7 +56,7 @@ void FindRecipe(Client *c, const Seperator *sep)
auto found_count = 0;
const auto& l = TradeskillRecipeRepository::GetWhere(
database,
content_db,
fmt::format(
"LOWER(`name`) LIKE '%%{}%%' ORDER BY `id` ASC",
search_criteria