update sorting

This commit is contained in:
Luke Pulverenti 2016-04-02 12:47:23 -04:00
parent 6b4c191503
commit cbcadbf892
3 changed files with 4 additions and 3 deletions

View File

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

View File

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

View File

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