Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(search): Use case-independent wildcard matches and match labels #8645

Merged
merged 2 commits into from
Jul 24, 2023

Conversation

ChristophWurst
Copy link
Member

Fixes #3562

Search only found exact matches before (full string and correct case). Now it searches with wildcard, case-independent and also looks into the label of a recipient.

How to test

  1. Search by partial email address, e.g. messages from @gmail.com
  2. Search by recipient label, e.g. jane doe

main branch: no results
here: results

@GretaD
Copy link
Contributor

GretaD commented Jul 24, 2023

I tested it but i get no result if i type i.e @yahoo.com. or name surname. I checked the branch, ran a watcher and started searching. Am i missing something?

@ChristophWurst
Copy link
Member Author

It only works if you open the advanced search and type the domain into the From field. The main search field only searches in the subject.

Copy link
Contributor

@GretaD GretaD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it works

Copy link
Contributor

@kesselb kesselb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

@ChristophWurst ChristophWurst force-pushed the feat/search/recipient-wildcard-search branch from 65e0b1b to 102a070 Compare July 24, 2023 12:38
@ChristophWurst ChristophWurst merged commit 99e211b into main Jul 24, 2023
27 of 28 checks passed
@ChristophWurst ChristophWurst deleted the feat/search/recipient-wildcard-search branch July 24, 2023 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review enhancement filter:search nextcloud-gmbh Tickets with importance for Nextcloud Gmbh
Projects
Development

Successfully merging this pull request may close these issues.

mail 'search function doesn't search in senders' address and name
3 participants