7 - Wrong realm in search results
When the same character name is used on multiple realms, search results display the first realm found, not the correct one.
To fix:
In Frames/Search.lua change the call to GetCharacterInfoLine to this:
V.SearchCharacterIndex = self:GetCharacterInfoLine(CharacterName, V.SearchFaction, V.SearchRealm)
In Altoholic.lua change the definition of that function to this:
function Altoholic:GetCharacterInfoLine(char, faction, realm)
-- with the name of a character, returns the line number in the Altoholic.CharacterInfo table
-- This prevents from saving the character name, realm and faction in the search results table.
for k, v in pairs(Altoholic.CharacterInfo do
if mod(v.linetype,3) == INFO_CHARACTER_LINE then
local s = Altoholic.CharacterInfo[ v.parentID ]
if v.name == char and s.faction == faction and s.realm == realm then
return k
end
end
end
end
| User | When | Change |
|---|---|---|
| Thaoky | Thu, 18 Dec 2008 17:33:37 | Changed status from New to Fixed |
| SpareSimian | Wed, 17 Dec 2008 21:47:14 | Create |
- 1 comment
- 1 comment
Facts
- Last updated on
- 18 Dec 2008
- Reported on
- 17 Dec 2008
- Status
- Fixed - Developer made requested changes. QA should verify.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- #1
Thaoky Thu, 18 Dec 2008 17:34:04Fixed in 3.0.005. Thanks for reporting!