1. I had a great deal of trouble in chapter 12 of the second edition getting the filter buttons to work. In the end I worked it out and it was because I had heirloom items in my bags. These are quality 7 and out of bounds for Bag Buddy. Since I have never posessed a legendary item in five years of playing WoW the following code resolved the issue for me. Heirloom items are shown and can be filtered for using the Legendary filter button.

          GetContainerItemInfo(bag, slot)
    
         if (quality == 7) then
            quality = 5
         end
    
         if texture then
    
  2. Thanks for the update!