Skip to content

Commit

Permalink
Merge branch 'release/2.3.1'
Browse files Browse the repository at this point in the history
* release/2.3.1:
  bump version
  fixes LinkedAutoCompleteFilter
  • Loading branch information
saxix committed Dec 14, 2023
2 parents 8efcccb + 0f992fb commit 43838be
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.3.0
current_version = 2.3.1
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<release>\d+)
serialize = {major}.{minor}.{release}
commit = False
Expand Down
10 changes: 8 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
* Release 2.3
Release 2.3.1
===============
* Bug fixes


Release 2.3
=============
* BUG FIX: fixes check() implementation
* new LinkedAutoCompleteFilter

* Release 2.2

Release 2.2
=============
* Improves support for JsonFields (use `#` to cast integer `.` to cast float)

Expand Down
2 changes: 1 addition & 1 deletion src/adminfilters/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
NAME = "django-adminfilters"
VERSION = __version__ = "2.3.0"
VERSION = __version__ = "2.3.1"
__author__ = "sax"
3 changes: 2 additions & 1 deletion src/adminfilters/autocomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ def __init__(self, field, request, params, model, model_admin, field_path):
super().__init__(field, request, params, model, model_admin, field_path)
for pos, entry in enumerate(model_admin.list_filter):
if (
len(entry) == 2
isinstance(entry, (list, tuple))
and len(entry) == 2
and entry[0] != self.field_path
and entry[1].__name__ == type(self).__name__
and entry[1].parent == self.field_path
Expand Down

0 comments on commit 43838be

Please sign in to comment.