zetkin / organize.zetk.in

Organizer front-end of the Zetkin system for organizing activism
21 stars 14 forks source link

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

Closed niklasva82 closed 3 years ago

niklasva82 commented 3 years ago

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.

richardolsson commented 3 years ago

Duplicate of #798