nextcloud / nextcloud/contacts

Contacts in groups are missing

Open
#4,172 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: contacts
Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Describe the bug

The number of contacts shown on th left does not match the number of contacts displayed. In extrem caseses there are no contacts, but the menu shows a number. See attached screenshots.

Steps to reproduce

Don't know exactly how it happens, but it seems to be related to moving contacts between different addressbooks.

Edit:
Yes, the discrepancy between counters and number of displayed contacts exists because of disabled addressbooks.

Expected behavior

Edit:
Contact counts in groups should not be influenced by disabled addressbooks.

Actual behavior

Image
!Image

Contact version

6.1.0

Operating system

Debian 12

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database

MySQL

Additional info

No response

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

No file, test, or entry point is named. Start by reproducing the mismatch with disabled addressbooks, especially after moving contacts between addressbooks; done means group counters exclude disabled addressbooks and match the contacts displayed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.