Move the tolower back to the other function since it wasn't working.
Ackis [11-25-08 - 21:11]
Move the tolower back to the other function since it wasn't working.
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 4648640..c4ed730 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -24,7 +24,6 @@ local L = LibStub("AceLocale-3.0"):GetLocale(MODNAME)
local string = string
local ipairs = ipairs
local tinsert = tinsert
-local tolower = string.lower
local sformat = string.format
-- local variables for this file. Must be used by multiple functions to be listed here
@@ -3364,7 +3363,6 @@ function addon:CreateFrame(
if (searchtext ~= "") then
ARL_LastSearchedText = searchtext
- searchtext = tolower(searchtext)
addon:SearchRecipeDB(recipeDB, searchtext)
initDisplayStrings()
diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index 6857f0f..0145c75 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -2065,6 +2065,8 @@ function addon:SearchRecipeDB(RecipeDB, searchstring)
if (searchstring) then
+ searchstring = tolower(searchstring)
+
-- Go through the entire database
for SpellID in pairs(RecipeDB) do