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:30
… 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/stable8.0 branch from 50d0ee8 to e07f3ff Compare November 3, 2025 15:36
@hamza221 hamza221 marked this pull request as ready for review November 3, 2025 15:36
@hamza221 hamza221 requested a review from GVodyanov as a code owner November 3, 2025 15:36
@codecov
Copy link

codecov bot commented Nov 3, 2025

Codecov Report

❌ Patch coverage is 0% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 9.68%. Comparing base (684dece) to head (cef0431).
⚠️ Report is 10 commits behind head on stable8.0.

Files with missing lines Patch % Lines
src/models/contact.js 0.00% 9 Missing and 1 partial ⚠️
src/components/ContactsList.vue 0.00% 4 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##             stable8.0   #4841      +/-   ##
==============================================
- Coverage         9.70%   9.68%   -0.02%     
  Complexity         266     266              
==============================================
  Files              124     124              
  Lines             6337    6350      +13     
  Branches          1190    1193       +3     
==============================================
  Hits               615     615              
- Misses            5600    5612      +12     
- Partials           122     123       +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/stable8.0 branch from e07f3ff to f4e6c2d Compare November 3, 2025 15:55
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/stable8.0 branch from f4e6c2d to cef0431 Compare November 4, 2025 14:23
@hamza221 hamza221 enabled auto-merge November 4, 2025 14:24
@hamza221 hamza221 merged commit c7ced01 into stable8.0 Nov 4, 2025
32 of 34 checks passed
@hamza221 hamza221 deleted the backport/4834/stable8.0 branch November 4, 2025 14:26
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