]> cloud.milkyroute.net Git - dolphin.git/commit
(search) Fix searching tags with spaces
authorIsmael Asensio <isma.af@gmail.com>
Wed, 8 Jan 2020 23:39:28 +0000 (00:39 +0100)
committerIsmael Asensio <isma.af@gmail.com>
Sun, 19 Jan 2020 22:17:26 +0000 (23:17 +0100)
commit5778099ece7a4e6c37c3e0c6950aa0bdf259bcb3
tree7937371b943a18a2e7d84c99fe2ba4a3f034e591
parent897ce8480c9c281f0501d201e33b6b0e8e7dd9a6
(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.

{F7854247}

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
src/search/dolphinfacetswidget.cpp
src/search/dolphinquery.cpp
src/tests/dolphinquerytest.cpp