Example #1
0
 protected function applyContextFilters()
 {
     if (isset($this->topicId)) {
         $this->query->joinWith('source.topics');
         $this->query->andWhere(['scoopit_source_topic.topic_id' => $this->topicId]);
     }
 }