Remove 'anonymous' names from credits list #96837

Open
opened 2024-01-21 11:41:19 +01:00 by Francesco Siddi · 3 comments

Currently we show dozen of 'anonymous' names in the landing list, they should just be hidden.

Currently we show dozen of 'anonymous' names in the landing list, they should just be hidden.
Oleg-Komarov was assigned by Francesco Siddi 2024-08-03 20:07:50 +02:00
Author
Owner

Could you kindly take a look at this @Oleg-Komarov ?

Could you kindly take a look at this @Oleg-Komarov ?
Owner

I've deployed a quick fix for filtering out Membership records with an empty or null display_name.

The records that were showing as anonymous had is_private=False and an empty display_name, but the form for managing the credit info never allows to set an empty name; and there are recent records created in this state.
I guess that the code that initially populates these fields may be doing something silly (since a user can't set an empty display_name via the form), but it needs a closer look.

I've deployed a quick fix for filtering out Membership records with an empty or null display_name. The records that were showing as anonymous had is_private=False and an empty display_name, but the form for managing the credit info never allows to set an empty name; and there are recent records created in this state. I guess that the code that initially populates these fields may be doing something silly (since a user can't set an empty display_name via the form), but it needs a closer look.
Author
Owner

More context, in case it helps. Different membership levels allow for different "attributes" of the membership to be edited (and displayed in the edit form). This might somehow be reflected in the model capabilities. Attributes are defined in the membershiplevel model.

More context, in case it helps. Different membership levels allow for different "attributes" of the membership to be edited (and displayed in the edit form). This might somehow be reflected in the model capabilities. Attributes are defined in the membershiplevel model.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/devfund-website#96837
No description provided.