public function scopeInList($query) { return $query->listifyScope()->whereNotNull($this->getTable() . "." . $this->positionColumn()); }