Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Nov 3, 2025

Backport of #4834

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot requested review from hamza221 and mejo- November 3, 2025 15:29
@backportbot backportbot bot added bug Something isn't working 3. to review Waiting for reviews feature: search labels Nov 3, 2025
mejo- added 3 commits November 3, 2025 15:29
… book

Fixes filtering for phone numbers in the contact list filter.

Fixes: #3112

Signed-off-by: Jonas <[email protected]>
…rchData

When filtering contacts by filter string in the contacts list, one does
not expect to get contacts listed where CardDAV metadata fields match.

Also, filtering for 'tel' or 'email' should not return all contacts just
because they all have a CardDAV field of the same name.

Fixes: #1176

Signed-off-by: Jonas <[email protected]>
Allows to find numbers like "(212) 12 34 56" with filter string "21212".

Signed-off-by: Jonas <[email protected]>
@hamza221 hamza221 force-pushed the backport/4834/stable7.3 branch from 72535e7 to ada58fe Compare November 3, 2025 15:49
@hamza221 hamza221 marked this pull request as ready for review November 3, 2025 15:49
@hamza221 hamza221 requested a review from GVodyanov as a code owner November 3, 2025 15:49
@hamza221 hamza221 enabled auto-merge November 3, 2025 15:50
@codecov
Copy link

codecov bot commented Nov 3, 2025

Codecov Report

❌ Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 9.91%. Comparing base (2de8a50) to head (9cb45fb).
⚠️ Report is 6 commits behind head on stable7.3.

Files with missing lines Patch % Lines
src/models/contact.js 0.00% 9 Missing and 1 partial ⚠️
src/components/ContactsList.vue 0.00% 3 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##             stable7.3   #4840      +/-   ##
==============================================
- Coverage         9.93%   9.91%   -0.02%     
  Complexity         266     266              
==============================================
  Files              124     124              
  Lines             6183    6195      +12     
  Branches          1430    1432       +2     
==============================================
  Hits               614     614              
- Misses            5446    5457      +11     
- Partials           123     124       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hamza221 hamza221 force-pushed the backport/4834/stable7.3 branch from ada58fe to b3a13e9 Compare November 3, 2025 15:53
Filtering for `+` made the frontend throw a SyntaxError as `+` is an

invalid regex. Fix this by catching the error and doing simple string

comparison in this case.

Fixes e.g. typing `+212` in the search field.

Signed-off-by: Jonas <[email protected]>
@hamza221 hamza221 force-pushed the backport/4834/stable7.3 branch from b3a13e9 to 9cb45fb Compare November 4, 2025 14:24
@hamza221 hamza221 merged commit 034b3e9 into stable7.3 Nov 4, 2025
42 of 44 checks passed
@hamza221 hamza221 deleted the backport/4834/stable7.3 branch November 4, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working feature: search

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants