{"$type":"com.ensuant.type.List","$value":[]}
function(options, libs){ var must = [{ "term": { "PageCategoryType": "Event" } }, { "term": { "WebChannel": options.websiteChannel } }]; var range; if(options.daterange){ range = options.daterange; must.push({ "range": { "Timestamp": { "gte": range.filter.gt, "lte": range.filter.lt } } }); } else { var now = new Date(); var year = now.getFullYear(); var month = now.getMonth(); var startDay = moment().date(); var start = moment.utc(year + "," + (month+1) + "," + "1" +","+ "00:00:00","YYYY,MM,DD,hh:mm:ss"); var endDay = moment((year + "," + (month+1) + "," + "1"), "YYYY,MM,DD").add(1,'years').format('YYYY,MM,DD,hh:mm:ss'); var end = moment.utc(endDay,"YYYY,MM,DD,hh:mm:ss"); must.push({ "range": { "Timestamp": { "gte": start.valueOf(), "lte": end.valueOf() } } }); } return must; }
/*return selected fields*/ function(options){ return [ { "Timestamp" : {"order" : "asc"}} ]; }
/*return selected fields*/ function(options){ return {}; }

A Week's Worth

Ben Levy
LOOK 1: Ambrosi Cotton Single Pleat Trousers

Salvatore makes some of the finest trousers in the world. Our ready to wear fit features a high rise and fairly full leg, giving the pants a classic, sharp silhouette.

LOOK 2: Ring Jacket 4-Ply Core 184 Suit

For a more formal option I love the dark grey 4-ply wool. The fabric has a good weight and it breathes well, making this suit a good 3 season option. The trousers also make for a great odd trouser with patterned jackets.

more