Open murko69 opened 4 years ago
Your analysis is correct, the support is user->team. This is historically so before multiple teams were a thing.
As you can see the actual data coming from CHPP is a list teams. Primary teams, of course.
While userIds are available, they are not useful for pages like series, where links contain teamIds only. It is obviously possible to fetch the list of all teams having the userId but that is unpractical. Even my measly team has 29 supporters, think of the flagchasers etc. Fetching so much data from HT is prohibitively "expensive".
This is rather the territory of CHPP feature enhancement.
I just figured this out really - at least I think so :) You can support another team (if you are a supporter yourself) at least that's what the headline is on Hattrick when you want to do this. However.... It's the manager and not the team that is giving you the support. I was just aware that I had TWO supporting teams from my own league, but only ONE is visible with the Foxtrick feature SupportersList icon
The reason I only see one team with the "supporter teams icon" is that the other team is not a primary team, it's a secondary team. <= I'm guessing!
If that's correct, is it somehow possible to add the "supporter" -team icon also on secondary teams since the support actually comes from the manager? Teams you support is listed (5 random) on the manager page and not the team page so that's why I guess this "issue" is the way it is.
See image below:![supporter-teams-issue](https://user-images.githubusercontent.com/12071221/74260916-a3b05a00-4cfa-11ea-976b-a73a3a81006e.png)