> On Aug. 29, 2016, 8:13 a.m., Pinak Ahuja wrote: > > Hi, could you add a little more details as to why this is needed/what cases > > it improves or fixes. And maybe some unit tests would be nice. :)
The arguments with quotes are stripped by the shell, breaking any results for queries with spaces. This patch encapsulates arguments with a recognized search operator and prefix into quotation marks, allowing multi-word match results. This is a no-brainer improvement over escaping the quotes on the search line, which following a prefix and operator should not be without surrounding quotes anyway. - James ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/128738/#review98763 ----------------------------------------------------------- On Aug. 24, 2016, 3:26 p.m., James Smith wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/128738/ > ----------------------------------------------------------- > > (Updated Aug. 24, 2016, 3:26 p.m.) > > > Review request for Baloo and Vishesh Handa. > > > Repository: baloo > > > Description > ------- > > Add quotation marks surrounding the search term for all searches matching > operator = or :. > > > Diffs > ----- > > src/tools/baloosearch/main.cpp 8fabdbb > > Diff: https://git.reviewboard.kde.org/r/128738/diff/ > > > Testing > ------- > > Compile, run. > > > Thanks, > > James Smith > >