nethesis / dev

Nethesis issue tracker
http://www.nethesis.it
4 stars 1 forks source link

Phonebook: data for companies and contacts sometimes don't correspond #6038

Closed SebastianMB-IT closed 3 years ago

SebastianMB-IT commented 3 years ago

Steps to reproduce

Expected behavior

  1. Shown data for company must be taken only from contacts with empty or null name otherwise no data must be shown.
  2. For every shown contact linked to a company after contact selection the correct data returned by the API must be shown.

Actual behavior

  1. For every contact without name some info are shown though no data are present for the contact.
  2. Shown data after contact selection aren't always corresponding to that returned by the API requests.

Components

nethcti3 nethcti-server

nethbot commented 3 years ago

in 7.9.2009/nethesis-testing:

SebastianMB-IT commented 3 years ago

We need to set the company column as index in phonebook.phonebook and nethcti3.phonebook to improve performances.

In some cases response time is drastically improved like shown in the following screenshoots:

Before

Screenshot from 2021-07-09 14-35-55

After

Screenshot from 2021-07-09 16-09-40

nethbot commented 3 years ago

in 7.9.2009/nethesis-testing:

nethbot commented 3 years ago

in 7.9.2009/nethesis-testing:

nethbot commented 3 years ago

in 7.9.2009/nethesis-testing:

nethbot commented 3 years ago

in 7.9.2009/nethesis-testing:

nethbot commented 3 years ago

in 7.9.2009/nethesis-testing:

nethbot commented 3 years ago

in 7.9.2009/nethesis-updates:

nethbot commented 3 years ago

in 7.9.2009/nethesis-updates: