protected function getAllFields($onlyReturnFilterFields = false)
    {
        $fields = array_merge(
            $this->searchFields,
            $this->sortFields,
            $this->getUniqueExpressionFieldDescriptors($this->expressions)
        );

        if (true !== $onlyReturnFilterFields) {
            $fields = array_merge($fields, $this->selectFields);
        }

        return array_filter($fields, function(FieldDescriptorInterface $fieldDescriptor) {
            return $fieldDescriptor instanceof DoctrineFieldDescriptorInterface;
        });
    }