Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 8.3.0

Searches for favorited items.

C_AuctionHouse.SearchForFavorites(sorts)

Arguments

sorts 
AuctionHouseSortType[]
Key Type Description
sortOrder Enum.AuctionHouseSortOrder?
reverseSort boolean?
Enum.AuctionHouseSortOrder
Value Key Description
0 Price
1 Name
2 Level
3 Bid
4 Buyout
5 TimeRemaining Only works for Owned auctions. Added in 9.0.1

Example

Searches for favorites.

function Example() -- /run Example()
	C_AuctionHouse.SearchForFavorites({})
end

Sorts by price (ascending), and then name (descending).

local sorts = {
	{sortOrder = Enum.AuctionHouseSortOrder.Price, reverseSort = false},
	{sortOrder = Enum.AuctionHouseSortOrder.Name, reverseSort = true},
}

function Example() -- /run Example()
	C_AuctionHouse.SearchForFavorites(sorts)
end

API C AuctionHouse.SearchForFavorites.png

Patch changes


Advertisement