Skip to content

Prevent classification filters from overriding metadata filters

Erwan Rouchet requested to merge fix-filter-override into master

Closes #1017 (closed)

Instead of a dict, ElementsListBase.get_filters now returns a Django Q object. This allows filtering multiple times on the same lookup, so a filter on id__in is combined with a previous filter instead of overriding it.

Merge request reports

Loading