2gis / 2gis/mapsapi

Не отображаются все контакты из contactgroups

Open
#64 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
212
Forks
36
PR merge metrics
No merged PRs in 30d

Description

При открытии организаций отображаются не все контакты.
Пример:
1)XHR

...
contacts: [
{
type: "phone",
value: "+73832147739",
international_phone_format: "+73832147739",
register_bc_url: "http://stat.api.2gis.ru/?v=2.0&hash=113Cjh290AHIJHHu1b2huvDn5A6A1736112g44286B64B5G42A2219G43J0I3456uH6f",
comment: null,
alias: null
},
{
type: "website",
value: "http://link.2gis.ru/1.1/C9B2AE3D/webapi/20141101/project1/141265769686107/mini.api.2gis.ru/1537jh290AHIJHHJ1929uvDn5A6A1736162444286B64B5G4272f19G45J0I345652?http://platya-nsk.ru",
register_bc_url: null,
comment: null,
alias: "platya-nsk.ru"
},
{
type: "vkontakte",
value: "https://vk.com/platyansk",
register_bc_url: "http://stat.api.2gis.ru/?v=2.0&hash=183hjh290AHI4HHJ1a2BuvDn5A6AG4621A2244286B64895J2e2219G433G25435rvH6b",
comment: null,
alias: "https://vk.com/platyansk"
}
...

2)Screenshot бой
selection_013

3)Screenshot онлайн

selection_014

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

Reproduce the issue by opening an organization and comparing the provided contactgroups XHR response with the contacts shown in the two screenshots. Trace the frontend path that renders organization contacts; done means every contact returned in the response, including phone, website, and VKontakte entries, is 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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.