aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/InternalItemsQuery.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-09-30 02:50:55 -0400
committerGitHub <noreply@github.com>2016-09-30 02:50:55 -0400
commitf1f566c130aa652776f102dee464571bf035bf1d (patch)
tree5d8226b8f7ca5355afd2b6c554a086224f376271 /MediaBrowser.Controller/Entities/InternalItemsQuery.cs
parent3946c60bb0e62ce208e07c7749b8d1b994978b0a (diff)
parent6a7fabc3bd4ab8496a90bd04e9decf48bf16edc2 (diff)
Merge pull request #2200 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Controller/Entities/InternalItemsQuery.cs')
-rw-r--r--MediaBrowser.Controller/Entities/InternalItemsQuery.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/InternalItemsQuery.cs b/MediaBrowser.Controller/Entities/InternalItemsQuery.cs
index d917b7d6d..5e70cd587 100644
--- a/MediaBrowser.Controller/Entities/InternalItemsQuery.cs
+++ b/MediaBrowser.Controller/Entities/InternalItemsQuery.cs
@@ -151,6 +151,8 @@ namespace MediaBrowser.Controller.Entities
public Dictionary<string, string> ExcludeProviderIds { get; set; }
public bool EnableGroupByMetadataKey { get; set; }
+ public List<Tuple<string, SortOrder>> OrderBy { get; set; }
+
public InternalItemsQuery()
{
GroupByPresentationUniqueKey = true;
@@ -193,6 +195,7 @@ namespace MediaBrowser.Controller.Entities
TrailerTypes = new TrailerType[] { };
AirDays = new DayOfWeek[] { };
SeriesStatuses = new SeriesStatus[] { };
+ OrderBy = new List<Tuple<string, SortOrder>>();
}
public InternalItemsQuery(User user)