roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.86k stars 1.63k forks source link

Search exact phrase with quotation marks #9466

Closed nclm closed 4 months ago

nclm commented 5 months ago

Hi. It seems that Roundcube search does not do any difference between the exact phrase and "the exact phrase". It would be great and very useful if it was possible to sandwich some words between straight quotation marks to be able to search for that exact series of words in a row and in that order rather than any messages in which these words appear. Thanks!

bronkoo commented 5 months ago

+1

would like to search all emails delivered exactly TO "round@cube.mail" in all folders...

pabzm commented 4 months ago

@bronkoo You can select which message parts should be searched using the drop-down on the right of the search term field.

pabzm commented 4 months ago

@alecpl From the "master"-branch I can use quotation marks to restrict searching, in v1.6.7 that doesn't work (in my test). Can you shed some light on the difference?

alecpl commented 4 months ago

The difference is in https://github.com/roundcube/roundcubemail/commit/31241485decbf79b875ca7cb10691a134f63fbf8 ;)

alecpl commented 4 months ago

So, in master you can do the or exact or phrase. I'll close this as a duplicate of #8502.

pabzm commented 4 months ago

Thank you! Could we maybe extend the description of that change in the changelog? I'd seen the line but neither the commit description nor the referenced issue's comments (and a no pull request was not involved) gave any hint what this commit actually changed.

pabzm commented 4 months ago

@nclm According to https://github.com/roundcube/roundcubemail/issues/8502#issuecomment-1166307808 this will be released in v1.7

(@alecpl Please correct me if that's wrong.)

nclm commented 4 months ago

Sounds great, thanks!

bronkoo commented 4 months ago

@bronkoo You can select which message parts should be searched using the drop-down on the right of the search term field.

@pabzm for sure, but the topic here was exactly to use quotation marks to restrict searching... thanks @alecpl , we will wait for release v1.7