I have been using the item link as a table key to detect duplicate items and display the total looted count.
In this image you can see that the Bervez Juice has 3 entries. This is a bug. There where only a total of 20 looted from 3 hireling mails.
So I currently believe I have two bugs in this area. One is with the item links not being comparable. The second seems to be in my list control, as these 3 Bervez Juice had the same link. Both bugs visually appear the as too many rows in the list.
I have the
item link different for the same item reproducible in a test now.
The reason for the way I went with my function is Rewards for the Worthy mails drop weapons and armor. Don't these types of items need the extra link fields for sets, traits and enchants?
My goal is a row per item type (items having the same visual ItemTooltip). Since I have ItemTooltips for items in the list window, I don't want similar but not exactly the same items grouped together either. That would hide some of exact detail of what you looted.