joshhunt/destinyDataExplorer

InventoryItemLite items don't show up in advanced querying

Closed this issue · 2 comments

When querying from the console, items from DestinyInventoryItemLiteDefinition doesn't show up in the view.

Example:

window.$DestinyInventoryItemLiteDefinition.filter(x => x.collectibleHash === 2325722862).show()

Returns a single item. Nothing shows up on the page.

window.$DestinyInventoryItemLiteDefinition.filter(x => x.itemTypeDisplayName === "Repeatable Bounty").show()

Returns an Array(43). Nothing shows up on the page. In comparison, the same query works on DestinyInventoryItemDefinition:

window.$DestinyInventoryItemDefinition.filter(x => x.itemTypeDisplayName === "Repeatable Bounty").show()

For better or worse, this is on purpose.

Until very recently, definitions were loaded from the SQLite .content database, which was lacking a few tables. Then I added in support for loading the missing tables from their individual JSON files. I specifically exclude DestinyInventoryItemLiteDefinition because of it's large volume of redundant data.

Understood, thanks.