WoWInterface - View Single Post - QueryAuctionItems causes error in Blizzard_AuctionUI.lua
View Single Post
07-24-16, 01:59 PM   #7
A Wyrmkin Dreamwalker
Join Date: Oct 2014
Posts: 50
If you want to do a full scan single page query using the default entries of objects on the browse tab, this is the long form code for QueryAuctionItems()

QueryAuctionItems(BrowseName:GetText(), BrowseMinLevel:GetNumber(), BrowseMaxLevel:GetNumber(), AuctionFrameBrowse.selectedCategoryIndex, AuctionFrameBrowse.selectedSubCategoryIndex, AuctionFrameBrowse.selectedSubSubCategoryIndex, AuctionFrameBrowse.page, IsUsableCheckButton:GetChecked(), UIDropDownMenu_GetSelectedValue(BrowseDropDown), ExactMatchCheckButton:GetChecked())

This pulls the code out of line 431 of the AuciotnUI.lua file from the function AuctionFrameBrowse_Search(), passing to the local function AuctionFrameBrowse_SearchHelper() - this is what contains QueryAuctionItems() and what passes arguments to it.