Commit 625e021b authored by Serge S. Koval's avatar Serge S. Koval

Fixed #737 - Store table reference instead of table name

parent 396b5069
...@@ -536,7 +536,7 @@ class ModelView(BaseModelView): ...@@ -536,7 +536,7 @@ class ModelView(BaseModelView):
if join_tables: if join_tables:
self._filter_joins[table.name] = join_tables self._filter_joins[table.name] = join_tables
elif self._need_join(table.name): elif self._need_join(table.name):
self._filter_joins[table.name] = [table.name] self._filter_joins[table.name] = [table]
filters.extend(flt) filters.extend(flt)
return filters return filters
......
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