Quantcast
C_AuctionHouse.SendSearchQuery sort order - WoWInterface
Thread Tools Display Modes
08-20-20, 08:02 AM   #1
der_Lucas
A Kobold Labourer
Join Date: Aug 2020
Posts: 1
Question C_AuctionHouse.SearchForItemKeys sort order

Hi,

I create a list of itemkeys.

Code:
local index = 0;
for k in next, test do
    index = (index + 1);
    table.insert(itemkeys, C_AuctionHouse.MakeItemKey(test[k].id) )
end

local sorts = { sortOrder = Enum.AuctionHouseSortOrder.Price, reverseSort = false }
C_AuctionHouse.SearchForItemKeys(itemkeys, sorts)

local result = C_AuctionHouse.GetBrowseResults();
The problem is that the result ist not sorted. what is wrong?

Last edited by der_Lucas : 08-24-20 at 04:34 AM.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » C_AuctionHouse.SendSearchQuery sort order

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off