From f200e2ef7dbe87d67765db1f89a5d29527b4d0b2 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 13 Jul 2026 13:57:41 -0400 Subject: [PATCH] Add numeric values to SortCategory --- SabreTools.RedumpLib/Data/Enumerations.cs | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/SabreTools.RedumpLib/Data/Enumerations.cs b/SabreTools.RedumpLib/Data/Enumerations.cs index 4f15119..2a01c63 100644 --- a/SabreTools.RedumpLib/Data/Enumerations.cs +++ b/SabreTools.RedumpLib/Data/Enumerations.cs @@ -593,40 +593,39 @@ namespace SabreTools.RedumpLib.Data /// /// List of all recognized sort parameters /// - /// TODO: Add numeric values or convert to constants public enum SortCategory { [HumanReadable(LongName = "Title", ShortName = "title")] - Title, + Title = 0, /// Not exposed in the redump.info UI [HumanReadable(LongName = "Added", ShortName = "added")] - Added, + Added = 1, [HumanReadable(LongName = "Region", ShortName = "region")] - Region, + Region = 2, [HumanReadable(LongName = "System", ShortName = "system")] - System, + System = 3, [HumanReadable(LongName = "Version", ShortName = "version")] - Version, + Version = 4, [HumanReadable(LongName = "Edition", ShortName = "edition")] - Edition, + Edition = 5, [HumanReadable(LongName = "Language", ShortName = "language")] - Language, + Language = 6, [HumanReadable(LongName = "Serial", ShortName = "serial")] - Serial, + Serial = 7, [HumanReadable(LongName = "Status", ShortName = "status")] - Status, + Status = 8, /// Not exposed in the redump.info UI [HumanReadable(LongName = "Modified", ShortName = "modified")] - Modified, + Modified = 9, } ///