Commit 08a4de57 authored by Serge S. Koval's avatar Serge S. Koval

Update view.py

Fixed _need_join check for SQLa filters.
parent 5424b40d
......@@ -535,7 +535,7 @@ class ModelView(BaseModelView):
if join_tables:
self._filter_joins[table.name] = join_tables
elif self._need_join(table.name):
elif self._need_join(table):
self._filter_joins[table.name] = [table]
filters.extend(flt)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment