mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-21 21:59:47 +00:00
Support old item type filter string
This commit is contained in:
@@ -158,7 +158,8 @@ namespace SabreTools.Metadata.Filter
|
||||
|| string.Equals(itemName, "item", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
// Handle item type
|
||||
if (string.Equals(fieldName, "type", StringComparison.OrdinalIgnoreCase))
|
||||
if (string.Equals(fieldName, "type", StringComparison.OrdinalIgnoreCase)
|
||||
|| string.Equals(fieldName, "_type", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
itemName = "item";
|
||||
fieldName = "type";
|
||||
|
||||
Reference in New Issue
Block a user