zetkin / organize.zetk.in

Organizer front-end of the Zetkin system for organizing activism

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server-side data-fetching fetches data from wrong organization when on non-default organization.

niklasva82 opened this issue · comments

The server-side data-fetching does not appear to work properly when in an organization other than the default (first) organization. The data fetched is not from the active organization, but instead is from the first organization in the list.

To reproduce:

  1. Select an organization other than the first one.
  2. Go to People. Note that all people have an avatar and are part of the organization. These have been loaded by the client.
  3. Reload

Expected result: The list should look the same as in 2.
Actual results: The list includes people from the first organization.

The same can be repeated for other sections like actions, where actions and campaigns from the default organization are loaded server-side.

Duplicate of #798