minor change
This commit is contained in:
+4
-4
@@ -218,18 +218,18 @@ function m.filter_to_string(filter)
|
|||||||
|
|
||||||
if filter.class then
|
if filter.class then
|
||||||
local classes = { GetAuctionItemClasses() }
|
local classes = { GetAuctionItemClasses() }
|
||||||
add(classes[filter.class])
|
add(strlower(classes[filter.class]))
|
||||||
if filter.subclass then
|
if filter.subclass then
|
||||||
local subclasses = {GetAuctionItemSubClasses(filter.class)}
|
local subclasses = {GetAuctionItemSubClasses(filter.class)}
|
||||||
add(subclasses[filter.subclass])
|
add(strlower(subclasses[filter.subclass]))
|
||||||
if filter.slot then
|
if filter.slot then
|
||||||
add(getglobal(filter.slot))
|
add(strlower(getglobal(filter.slot)))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if filter.quality then
|
if filter.quality then
|
||||||
add(getglobal('ITEM_QUALITY'..filter.quality..'_DESC'))
|
add(strlower(getglobal('ITEM_QUALITY'..filter.quality..'_DESC')))
|
||||||
end
|
end
|
||||||
|
|
||||||
if filter.max_price then
|
if filter.max_price then
|
||||||
|
|||||||
Reference in New Issue
Block a user