nextcloud / nextcloud/server

Global contacts search do not respect disabled address books

Open
#21,831 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 25-feedback bug feature: carddav feature: contacts menu
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

  • Create new Address Book in Contacts application.
  • Create "Some" contact
  • Disable Address Book
  • It is removed from contact list

But you still be able to find "Some" contact in the global contact search in upper right corner.
Also you can find contacts from disabled Address Book in other apps: Mail, Calendar, file sharing etc.

I believe contacts from disabled address book should not be listed in other apps and global search.

My use case:

I moved very very old contacts to "Archive" Address book and disabled it. I doubt whether I'll need it some day, but just in case. When I search contact I have to always think "Who is that guy?"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the global contact search in the upper-right corner and compare it with the Contacts application's disabled address-book behavior. Trace how contacts from disabled address books appear in Mail, Calendar, file sharing, and other apps; done means those contacts are excluded consistently while enabled-address-book contacts remain searchable.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.