Opened 9 years ago

Closed 9 years ago

#26274 closed Uncategorized (worksforme)

list_filter filtering by groups displays "-" for "none group" filter

Reported by: Mitar Owned by: nobody
Component: contrib.admin Version: 1.9
Severity: Normal Keywords:
Cc: mmitar@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I noticed that filtering by groups in users list (when added with list_filter in UserAdmin) display - as a filter to filter users which do not belong to any group (admin/auth/user/?groups__isnull=True). This is a bit confusing to the user. Could it be renamed to None or something? Like All is also a reasonable world and not something internal.

(Maybe both All and None should be in italics or be in some other way shown that they are different from other entries for filtering.)

Change History (1)

comment:1 by Mitar, 9 years ago

Resolution: worksforme
Status: newclosed

Oh, this is now configurable through empty_value_display.

Note: See TracTickets for help on using tickets.
Back to Top