From 9ebfd3460e6c3de0e51524da0d574ae5387bf369 Mon Sep 17 00:00:00 2001 From: Riad Mohamed Gahlouz <65630625+t-mog-msft@users.noreply.github.com> Date: Thu, 18 Jun 2020 16:31:40 -0400 Subject: [PATCH] Add sortable attribute to TotalDownloadCount field (#787) --- src/NuGet.Services.AzureSearch/Models/SearchDocument.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NuGet.Services.AzureSearch/Models/SearchDocument.cs b/src/NuGet.Services.AzureSearch/Models/SearchDocument.cs index ad5e3e6d2..09b3af71a 100644 --- a/src/NuGet.Services.AzureSearch/Models/SearchDocument.cs +++ b/src/NuGet.Services.AzureSearch/Models/SearchDocument.cs @@ -20,6 +20,7 @@ public static class SearchDocument public class Full : UpdateLatest, IDownloadCount, IIsExcludedByDefault { [IsFilterable] + [IsSortable] public long? TotalDownloadCount { get; set; } [IsFilterable]