fix(search): Fix baloo searchString parsing

Authored by iasensio on Nov 15 2019, 10:34 PM.

Description

fix(search): Fix baloo searchString parsing

Summary:
Fix the parsing of Baloo query searchString to represent its parameters properly
in the search box:

  1. Baloo terms (rating, modified) are added to the user search text:
  2. Extra quotes are added to the search text: https://bugs.kde.org/show_bug.cgi?id=412952

This revision supersedes D24422, by making the fixes on the new dolphin query model,
instead of directly on the UI.

BUG: 412952
FIXED IN: 19.11.90

Test Plan:

  • bin/dolphinquerytest passes without XFAILs
  • Dolphin search box is not garbled by search terms or quotes

Reviewers: elvisangelaccio, bruns, ngraham, Dolphin

Reviewed By: elvisangelaccio

Subscribers: kfm-devel

Tags: Dolphin

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

Details

Committed
iasensioNov 28 2019, 9:08 PM
Reviewer
elvisangelaccio
Differential Revision
D25260: fix(search): Fix baloo searchString parsing
Parents
R318:089a05b4edfd: Force dbus introspection on the Dolphin_1 object
Branches
Unknown
Tags
Unknown
References
tag: v19.11.90