diff Shopping.lua @ 177:44ce007189e0 v83

Fix to automatic search on shopping list at auction house.
author yellowfive
date Sun, 26 Jan 2020 12:37:12 -0800
parents c229c759a125
children eec8032ba9df
line wrap: on
line diff
--- a/Shopping.lua	Tue Jan 21 15:55:22 2020 -0800
+++ b/Shopping.lua	Sun Jan 26 12:37:12 2020 -0800
@@ -47,7 +47,13 @@
 local function onItemClick(widget)
 	local name = widget:GetUserData("itemName")
 	if name then
-		QueryAuctionItems(name)
+
+		local query = {}
+		query.searchString = name
+		query.sorts = {}
+		C_AuctionHouse.SendBrowseQuery(query)
+		
+		--QueryAuctionItems(name)
 	end
 end