Sort Function Error & Strange Behavior #71


Open
  • daCrelam created this issue Jan 14, 2020

    Received the following error when attempting to sort my bags

     

    ..\AddOns\BankStack\sort.lua line 104:
    attempt to call global 'GetAuctionItemSubClasses' (a nil value)

     

    Looks like an API change that came along with the AH revamp.

     

    If I attempt to sort after getting that error message it will try to complete the request with a needed 41354 moves.  If I cancel that sort and attempt again it will give me more reasonable numbers around 100 but it never actually achieves perfection.

     

    Thank you for your time.

  • masumia posted a comment Jan 14, 2020

    You can open the sort.lua file and replace the following

     

    for ii, istype in ipairs({GetAuctionItemSubClasses(itype)}) do

     

     

    with

     

    for ii, istype in ipairs({C_AuctionHouse.ReplicateItems(itype)}) do

     

     

  • sharp_83 posted a comment Jan 14, 2020

    I can confirm @masumia's fix works. Thanks!


    Edited Jan 14, 2020
  • Forge_User_76242994 posted a comment Jan 17, 2020

    I can also confirm this fix works. Thanks a ton!

  • Ludovicus_Maior posted a comment Jan 24, 2020

    Ditto!  Thanks @masumia!


To post a comment, please login or register a new account.