enable back button on sort menus

This commit is contained in:
Luke Pulverenti 2015-10-15 00:32:10 -04:00
parent 5471cdce2f
commit b830f5f1cf
2 changed files with 2 additions and 6 deletions

View File

@ -325,12 +325,6 @@ namespace MediaBrowser.Server.Implementations.Sync
{ {
var files = localItem.AdditionalFiles.ToList(); var files = localItem.AdditionalFiles.ToList();
// TODO: Remove this. Have to check it for now since this is a new property
if (!string.IsNullOrWhiteSpace(localItem.FileId))
{
files.Insert(0, localItem.FileId);
}
foreach (var file in files) foreach (var file in files)
{ {
_logger.Debug("Removing {0} from {1}.", file, target.Name); _logger.Debug("Removing {0} from {1}.", file, target.Name);

View File

@ -786,6 +786,7 @@ namespace MediaBrowser.Server.Implementations.Sync
{ {
_logger.Info("Setting status to Queued for {0} because it is no longer on the device.", jobItem.ItemId); _logger.Info("Setting status to Queued for {0} because it is no longer on the device.", jobItem.ItemId);
jobItem.Status = SyncJobItemStatus.Queued; jobItem.Status = SyncJobItemStatus.Queued;
jobItem.Progress = 0;
} }
requiresSaving = true; requiresSaving = true;
} }
@ -891,6 +892,7 @@ namespace MediaBrowser.Server.Implementations.Sync
{ {
_logger.Info("Setting status to Queued for {0} because it is no longer on the device.", jobItem.Id); _logger.Info("Setting status to Queued for {0} because it is no longer on the device.", jobItem.Id);
jobItem.Status = SyncJobItemStatus.Queued; jobItem.Status = SyncJobItemStatus.Queued;
jobItem.Progress = 0;
} }
requiresSaving = true; requiresSaving = true;
} }