Skip to content

Instantly share code, notes, and snippets.

@aconfee
Created November 9, 2017 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aconfee/7de00f6ef87785581c6ab9f8fc617e61 to your computer and use it in GitHub Desktop.
Save aconfee/7de00f6ef87785581c6ab9f8fc617e61 to your computer and use it in GitHub Desktop.
filters = fd.Terms(av => av.Vin, vins) &&
fd.Or(
d => d.Range(f => f.OnField(ff => ff.AuctionDate)
.GreaterOrEquals(DateTime.Now.AddDays(daysHistory * -1).ToString("yyyyMMdd"))),
d => d.Term(f => f.AuctionDate, null)
) &&
BuyerGroupSearchHelper.BuildBuyerGroupsFilter(fd, buyerGroups);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment