View Single Post
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