Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:API IsAuctionSortReversed
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} Returns the sorting for a column on the auction house display. sorted = IsAuctionSortReversed("type", "sort"); ---- ;''Arguments'' :(String type, String sort) :;type : One of the following: :::;"list" : An item up for auction, the "Browse" tab in the dialog. :::;"bidder" : An item the player has bid on, the "Bids" tab in the dialog. :::;"owner" : An item the player has up for auction, the "Auctions" tab in the dialog. :;sort : One of the following: :::;"quality" : The rarity of the item. :::;"level" : The minimum required level (if any). Only applies to "Browse" and "Bids" tabs. :::;"status" : On the "Browse" tab, this is the "Seller" column. On the "Bids" tab it is the "Bid Status" column. On the "Auctions" tab it is the "High Bidder" column. :::;"duration" : The amount of time left in the auction :::;"bid" : An item the player has up for auction, the "Auctions" tab in the dialog. :::;"name" : The name of the item. Only applies to "Browse" and "Bids" tabs. This is normally not shown as a separate sortable column (but is enabled with the AuctionSort adddon). :::;"buyout" : An item the player has up for auction, the "Auctions" tab in the dialog. This is normally not shown as a separate sortable column (but is enabled with the AuctionSort adddon). SEE RESULTS NOTE BELOW. ---- ;''Returns'' :1 or nil SEE RESULT NOTE BELOW. :;1 : The auction list is sorted by this column. :;nil : The auction list is not sorted by this column. ---- ;''Example'' sorted = IsAuctionSortReversed("list", "bid"); ;''Result'' The value of the sort is now stored in "sorted". ---- ;''Details'' : The return values correspond to the arrows displayed. An up arrow means IsAuctionSortReversed == 1. A down arrow means IsAuctionSortReversed == nil. : Two important notes. First, this does NOT tell you how the auction list is actually sorted. For example, if you sort by Lvl (reverse) and then sort by Seller, IsAuctionSortReversed("list", "level") will still return 1. This is true even though the sorting on Seller has overriden the sorting on Lvl. Second, the sorting returned by IsAuctionSortReversed(..., "buyout") is OPPOSITE of how it should be. : See also: [[API SortAuctionItems|SortAuctionItems(type, sort)]]
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)