Refactor FileSearchQuery and create base class SearchQuery

Authored by barchiesi on Mar 4 2019, 5:27 PM.

Description

Refactor FileSearchQuery and create base class SearchQuery

Summary: As discussed in T10521, it is useful to refactor out the generic query building logic in FileSearchQuery and create the base class SearchQuery. This would allow us to create other domain specific queries without having to reimplement all the building logic, as will be the case with TeamdriveSearchQuery.

Test Plan: All tests defined in FileSearchQueryTest should remain valid and, as of this patch, passing.

Reviewers: dvratil

Reviewed By: dvratil

Subscribers: kde-pim, LibKGAPI

Tags: KDE PIM, LibKGAPI

Maniphest Tasks: T10521

Differential Revision: https://phabricator.kde.org/D19490

Details

Committed
dvratilMar 4 2019, 5:28 PM
Reviewer
dvratil
Differential Revision
D19490: Refactor FileSearchQuery and create base class SearchQuery
Parents
R477:2c3f6af20648: Update README.md
Branches
Unknown
Tags
Unknown