Luke Pulverenti 9 anni fa
parent
commit
cbcadbf892

+ 2 - 1
MediaBrowser.Controller/Entities/BaseItem.cs

@@ -503,7 +503,8 @@ namespace MediaBrowser.Controller.Entities
                 {
                 {
                     if (!string.IsNullOrWhiteSpace(ForcedSortName))
                     if (!string.IsNullOrWhiteSpace(ForcedSortName))
                     {
                     {
-                        _sortName = ModifySortChunks(ForcedSortName);
+                        // Need the ToLower because that's what CreateSortName does
+                        _sortName = ModifySortChunks(ForcedSortName).ToLower();
                     }
                     }
                     else
                     else
                     {
                     {

+ 1 - 1
MediaBrowser.Server.Implementations/Persistence/CleanDatabaseScheduledTask.cs

@@ -32,7 +32,7 @@ namespace MediaBrowser.Server.Implementations.Persistence
         private readonly ILocalizationManager _localization;
         private readonly ILocalizationManager _localization;
         private readonly ITaskManager _taskManager;
         private readonly ITaskManager _taskManager;
 
 
-        public const int MigrationVersion = 22;
+        public const int MigrationVersion = 23;
         public static bool EnableUnavailableMessage = false;
         public static bool EnableUnavailableMessage = false;
 
 
         public CleanDatabaseScheduledTask(ILibraryManager libraryManager, IItemRepository itemRepo, ILogger logger, IServerConfigurationManager config, IFileSystem fileSystem, IHttpServer httpServer, ILocalizationManager localization, ITaskManager taskManager)
         public CleanDatabaseScheduledTask(ILibraryManager libraryManager, IItemRepository itemRepo, ILogger logger, IServerConfigurationManager config, IFileSystem fileSystem, IHttpServer httpServer, ILocalizationManager localization, ITaskManager taskManager)

+ 1 - 1
MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs

@@ -79,7 +79,7 @@ namespace MediaBrowser.Server.Implementations.Persistence
 
 
         private IDbCommand _updateInheritedRatingCommand;
         private IDbCommand _updateInheritedRatingCommand;
 
 
-        private const int LatestSchemaVersion = 57;
+        private const int LatestSchemaVersion = 58;
 
 
         /// <summary>
         /// <summary>
         /// Initializes a new instance of the <see cref="SqliteItemRepository"/> class.
         /// Initializes a new instance of the <see cref="SqliteItemRepository"/> class.