8000 Change sponsorship admin list view to exclude rejected ones by default by berinhard · Pull Request #2083 · python/pythondotorg · GitHub
[go: up one dir, main page]

Skip to content

Change sponsorship admin list view to exclude rejected ones by default #2083

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

berinhard
Copy link
Contributor

This PR updates the list_filter attribute from SponsorsihpAdmin to have a custom status filter instead of the default one based in the column choices. The reason for that is to hide, by default, rejected applications and, thus, to make the sponsorship applications list cleaner. Here's a print screen with the new filter:

Screenshot from 2022-07-25 20-05-27

Disclaimer: the other 2 filters (by package and by targetable email benefit) aren't displayed here because both of them depends on db objects. Since I don't have a valid dump with these tables populated, the filters don't appear.

@berinhard berinhard requested a review from ewdurbin July 25, 2022 18:17
@ewdurbin ewdurbin merged commit 662ac4c into main Jul 25, 2022
@ewdurbin ewdurbin deleted the feature/default-sponsorship-filtering branch July 25, 2022 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0