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