(search) Fix searching tags with spaces

Authored by iasensio on Jan 8 2020, 11:39 PM.

Description

(search) Fix searching tags with spaces

Summary:
Tags containing blank spaces were not handled properly in the search widget.
Now we enclose them in quotes and strip the quotes before setting them to the widget.

Test Plan:
No artifacts when searching tags containing spaces
Added test cases to bin/dolphinquerytest

Reviewers: Dolphin, elvisangelaccio, ngraham, meven

Reviewed By: Dolphin, elvisangelaccio, ngraham

Subscribers: meven, kfm-devel

Tags: Dolphin

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

Details

Committed
iasensioJan 19 2020, 10:17 PM
Reviewer
Dolphin
Differential Revision
D26369: (search) Fix searching tags with spaces
Parents
R318:897ce8480c9c: Use more conventional "Add to Places" text for that action
Branches
Unknown
Tags
Unknown