Vulcan/packages/telescope-daily/lib/daily.js
2015-01-08 17:26:58 +09:00

19 lines
No EOL
357 B
JavaScript

viewsMenu.push({
route: 'postsDaily',
label: 'daily',
description: 'day_by_day_view'
});
// viewParameters.daily = function (terms) {
// return {
// find: {
// postedAt: {
// $gte: terms.after
// }
// },
// options: {
// sort: {createdAt: -1, sticky: -1, baseScore: -1},
// limit: 0
// }
// };
// }