changeset 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 1b44e5094830
children 725fc231cde9
files AskMrRobot-Serializer/AskMrRobot-Serializer.lua AskMrRobot.toc Shopping.lua
diffstat 3 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/AskMrRobot-Serializer/AskMrRobot-Serializer.lua	Tue Jan 21 15:55:22 2020 -0800
+++ b/AskMrRobot-Serializer/AskMrRobot-Serializer.lua	Sun Jan 26 12:37:12 2020 -0800
@@ -1,6 +1,6 @@
 -- AskMrRobot-Serializer will serialize and communicate character data between users.
 
-local MAJOR, MINOR = "AskMrRobot-Serializer", 82
+local MAJOR, MINOR = "AskMrRobot-Serializer", 83
 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
 
 if not Amr then return end -- already loaded by something else
--- a/AskMrRobot.toc	Tue Jan 21 15:55:22 2020 -0800
+++ b/AskMrRobot.toc	Sun Jan 26 12:37:12 2020 -0800
@@ -1,7 +1,7 @@
 ## Interface: 80300
 ## Title: Ask Mr. Robot
 ## Author: Team Robot, Inc.
-## Version: 82
+## Version: 83
 ## Notes: Gear import/export, combat logging, and more.
 ## URL: www.askmrrobot.com
 ## SavedVariables: AskMrRobotDb4
--- 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