diff --git a/SabreTools.DatFiles/ItemDictionaryDB.cs b/SabreTools.DatFiles/ItemDictionaryDB.cs index 68f41e6f..b872921a 100644 --- a/SabreTools.DatFiles/ItemDictionaryDB.cs +++ b/SabreTools.DatFiles/ItemDictionaryDB.cs @@ -1174,7 +1174,7 @@ namespace SabreTools.DatFiles BucketBy(GetBestAvailable(), DedupeType.None); // Now that we have the sorted type, we get the proper key - return datItem.GetKey(_bucketedBy, null); + return datItem.GetKeyDB(_bucketedBy, null); } /// @@ -1191,7 +1191,7 @@ namespace SabreTools.DatFiles // Now that we have the sorted type, we get the proper key var source = GetSourceForItem(datItem.Key); - return datItem.Value.GetKey(_bucketedBy, source.Value); + return datItem.Value.GetKeyDB(_bucketedBy, source.Value); } #endregion diff --git a/SabreTools.DatItems.Test/DatItemTests.cs b/SabreTools.DatItems.Test/DatItemTests.cs index 6f0fa68e..5fac65cd 100644 --- a/SabreTools.DatItems.Test/DatItemTests.cs +++ b/SabreTools.DatItems.Test/DatItemTests.cs @@ -575,6 +575,8 @@ namespace SabreTools.DatItems.Test #region PassesFilter // TODO: Implement PassesFilter tests + // Does this need a test? Filter functionality + // is already covered pretty thoroughly... #endregion diff --git a/SabreTools.DatItems/DatItem.cs b/SabreTools.DatItems/DatItem.cs index f865320e..2330146c 100644 --- a/SabreTools.DatItems/DatItem.cs +++ b/SabreTools.DatItems/DatItem.cs @@ -400,7 +400,7 @@ namespace SabreTools.DatItems /// True if the key should be lowercased (default), false otherwise /// True if games should only be compared on game and file name, false if system and source are counted /// String representing the key to be used for the DatItem - public virtual string GetKey(ItemKey bucketedBy, Source? source, bool lower = true, bool norename = true) + public virtual string GetKeyDB(ItemKey bucketedBy, Source? source, bool lower = true, bool norename = true) { // Set the output key as the default blank string string key = string.Empty;