Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Multiple keywords search #3

Description

@DebianRoxx

It will be nice to split keywords search in order to have a more powerful search engine but it seems complicated to accomplish this nicely ?

    protected function getTaskIdsWithGivenDescription()
    {
        if($this->config->get('description_search') == 1) {
            return $this->db
                ->table(TaskModel::TABLE)
##FOREACH $this->value :-/
                ->ilike(TaskModel::TABLE . '.description', '%' . $this->value . '%')
##END FOREACH
                ->findAllByColumn(TaskModel::TABLE . '.id');
        }
        return array();
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions