/** * Apply default restrictions and tables. */ public function apply_defaults() { parent::apply_defaults(); $this->set_day_field('entry.time_published'); $this->order_by_recent(); }