django-advanced-filters icon indicating copy to clipboard operation
django-advanced-filters copied to clipboard

Add advanced filtering abilities to Django admin

Results 62 django-advanced-filters issues
Sort by recently updated
recently updated
newest added

**Describe the bug** The first filter has drop down menu even if the type of the field is text, causing the value to disappear when: Adding another filter or saving...

frontend

Hello! I have custom User model, which inherits AbstractBaseUser and doesn't have Group relation. So when i use filter mixin, i get this exception: ```python Traceback (most recent call last):...

enhancement

When created a filter with contains operator and tries to open it for edit, the operator is showing as an equal operator and that is being saved in DB as...

**Describe the bug** Getting the following error when using compressor with django advanced filters: ``` Compressing... Error parsing template /Users/vitormhenrique/opt/anaconda3/envs/sr/lib/python3.8/site-packages/advanced_filters/templates/admin/advanced_filters.html: Invalid template name in 'extends' tag: ''. Got this from...

Currently the requirement for package is django-braces3.0 doesn't support six anymore. I bumped up django-braces to 1.14.0 and it works fine but still who knows... haha please look into this...

**Describe the bug** When invalid args are given to URL `field_choices/...`, especially a model which doesnt include a `.`, the logic raises an exception. This occurs for example when a...

**Describe the bug** I have a "follower" object, with many to many language field have "he" and "ar". I choose "he" and not "ar": ![image](https://user-images.githubusercontent.com/43851500/100676250-377a1200-3371-11eb-85a1-8192207a81ce.png) But I did find Arabic...

I'm curious why `queryset.filter(query).distinct()` is used instead of `queryset.filter(query)` in AdvancedListFilters class. It is affecting the query performance quite a lot. For my setup, sql query to fetch items for...

Is it possible to create a custom list filter for advanced_filter_fields? I have a field property in my model that I would like to search for. Thanks ! :)

enhancement
investigate

This merge request allows the select2 widget to pre-populate with the current value. It should also fix [Issue 22](https://github.com/modlinltd/django-advanced-filters/issues/22). There is a side effect to how I fixed this, which...

frontend
needs-tests