silentsokolov / django-admin-rangefilter

A Django app that lets you filter data by date range and numeric range in the admin UI
MIT License
713 stars 106 forks source link

DateRangeFilter malfunctions on mutiple fields #10

Closed Spacehug-zz closed 6 years ago

Spacehug-zz commented 6 years ago

I have list_filter as such: list_filter = ('is_active', ('last_email_date', DateRangeFilter), ('date_joined', DateRangeFilter))

Only the one with last_email_date is working, the other is not. If I swap them, the one that goes first will work, and the other will not.

silentsokolov commented 6 years ago

Please, say you django and rangefilter version

Spacehug-zz commented 6 years ago

Django 1.10, rangefilter 0.3.0

silentsokolov commented 6 years ago

I could not reproduce the error. Recreated your situation, but filter working, maybe you set incorrect type: DateRangeFilter not working with DateTimeField)?