mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
[Bug Fix] Fix Tradeskill Queries (#4661)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user