Skip to content

Commit

Permalink
Commenting out filter removal that causes issues with browsing packag…
Browse files Browse the repository at this point in the history
…es in VS

See: themotleyfool#47
  • Loading branch information
jweber committed Oct 11, 2017
1 parent b963fb8 commit 2e2d2f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/NuGet.Lucene.Web/Controllers/PackagesODataController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ private IEnumerable<ODataPackage> Search(

options = SimplifyOrderingClause(options);

if (!string.IsNullOrWhiteSpace(targetFramework))
{
targetFrameworks = targetFramework.Split(new[] { '|' }, StringSplitOptions.RemoveEmptyEntries).Distinct();
options = RemoveFilter(options);
}
// if (!string.IsNullOrWhiteSpace(targetFramework))
// {
// targetFrameworks = targetFramework.Split(new[] { '|' }, StringSplitOptions.RemoveEmptyEntries).Distinct();
// options = RemoveFilter(options);
// }

var searchQuery = Repository.Search(searchTerm, targetFrameworks, includePrerelease);

Expand Down

0 comments on commit 2e2d2f0

Please sign in to comment.