astrosat / django-astrosat-core

Common backend library for Astrosat projects' core functionality
GNU General Public License v3.0
0 stars 0 forks source link

fix(backend): fixed IncludeExcludeListFilter #53

Closed allynt closed 3 years ago

allynt commented 3 years ago

The updated query_strings used by IncludeExcludeListFilter were not being set correctly, leading to inconsistent behaviour when trying to filter in the admin. This was b/c the code to update the query_strings was being called from w/in a generator so all previous updates were being preserved from the last time around. Operating on a copy of the selected filter items fixed the problem.