added right click support where you could drag before, cleaned up the static database interface a bit

This commit is contained in:
Manuel Simon Hirsig
2016-02-20 06:22:41 +01:00
parent 4c4ee39458
commit db0c85e066
6 changed files with 65 additions and 48 deletions
+3 -3
View File
@@ -188,7 +188,7 @@ function m.filter_from_string(filter_term)
or filter.quality
or filter.usable
or not filter.name
or not Aux.static.auctionable_items[strupper(filter.name)]
or not Aux.static.item_id(strupper(filter.name))
then
return false, 'Erroneous Exact Only Modifier'
end
@@ -262,8 +262,8 @@ function m.blizzard_query(filter)
local item_info
if filter.exact then
local item_id = Aux.static.auctionable_items[strupper(filter.name)]
item_info = Aux.static.auctionable_items[item_id]
local item_id = Aux.static.item_id(strupper(filter.name))
item_info = Aux.static.item_info(item_id)
end
return {