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

set preferred e-mail address #3848

Open
mcnesium opened this issue Mar 9, 2024 · 0 comments
Open

set preferred e-mail address #3848

mcnesium opened this issue Mar 9, 2024 · 0 comments
Labels
0. Needs triage enhancement New feature or request

Comments

@mcnesium
Copy link
Contributor

mcnesium commented Mar 9, 2024

The database table oc_cards_properties has a field preferred, but it is unclear to me, what it is used for?
There is no setting in the frontend that can select a preferred address.

MariaDB [nextcloud]> describe oc_cards_properties;
+---------------+---------------------+------+-----+---------+----------------+
| Field         | Type                | Null | Key | Default | Extra          |
+---------------+---------------------+------+-----+---------+----------------+
| id            | bigint(20) unsigned | NO   | PRI | NULL    | auto_increment |
| addressbookid | bigint(20)          | NO   | MUL | 0       |                |
| cardid        | bigint(20) unsigned | NO   | MUL | 0       |                |
| name          | varchar(64)         | YES  | MUL | NULL    |                |
| value         | varchar(255)        | YES  | MUL | NULL    |                |
| preferred     | int(11)             | NO   |     | 1       |                |
+---------------+---------------------+------+-----+---------+----------------+

Most contact entries have a 0, but very few rather old entries have a 1 there. Was there a setting in earlier versions?

If there are multiple mail addresses per contact card, it would be awesome to be able to set a preferred address over the others.

@mcnesium mcnesium added 0. Needs triage enhancement New feature or request labels Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant