fix for miscellaneous class filter

This commit is contained in:
Manuel Simon Hirsig
2016-03-15 12:31:34 +01:00
parent ab0c9cda42
commit 338fa49bb1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
Aux = {
version = '2.6.16',
version = '2.6.17',
blizzard_ui_shown = false,
orig = {},
}
+1 -1
View File
@@ -433,7 +433,7 @@ function m.filter_from_string(filter_term)
else
return false, {}, 'Erroneous Level Range Modifier'
end
elseif Aux.item_class_index(str) and not (blizzard_filter.class and not blizzard_filter.subclass and str == 'MISCELLANEOUS')then
elseif Aux.item_class_index(str) and not (blizzard_filter.class and not blizzard_filter.subclass and str == strlower(({ GetAuctionItemClasses() })[10])) then
if not blizzard_filter.class then
blizzard_filter.class = Aux.item_class_index(str)
prettified:append(Aux.gui.inline_color({216, 225, 211, 1})..str..'|r')