django / django/new-features

[Admin] UI for filtering Contains, Starts With, Greater Than, etc.

Open
#37 4 comments 8 reactions 0 assignees View on GitHub
Admin Third Party Package
Dominant language
No language data
Stars
188
Forks
7
PR merge metrics
No merged PRs in 30d

Description

### Code of Conduct

- [x] I agree to follow Django's Code of Conduct

### Feature Description

[Admin] Spreadsheet-style column filtering UI for `Equals`, `Contains`, `Startswith`, `Greater than`, etc.

### Problem

By default Django admin allows you to click a column to sort it. It would be nice to also have a simple spreadsheet style filtering UI for `Equals`, `Contains`, `Startswith`, `Greater than`, etc. Excel and Google Sheets have a UI for this that's worth mimicking for people who are familar with that UI.

### Request or proposal

proposal

### Additional Details

Excel:
Image Image

Google Sheets:
Image

### Implementation Suggestions

For starters, this would mostly just need to be a UI that builds query parameters that are already supported. `?id__gt=2`, `text__contains=test`, etc. The backend needs to tell the front end what the column type is (numeric vs text), but otherwise this is mostly javascript work.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.