foxtrick icon indicating copy to clipboard operation
foxtrick copied to clipboard

Supported teams are really supported manager (or just primary team)

Open murko69 opened this issue 5 years ago • 1 comments

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

murko69 avatar Feb 11 '20 17:02 murko69

Your analysis is correct, the support is user->team. This is historically so before multiple teams were a thing.

CHPP

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.

minj avatar Feb 11 '20 19:02 minj