fix: avoid deprecated grid method
This commit is contained in:
parent
28f90ad6b5
commit
9a6f8970ae
|
@ -412,7 +412,7 @@ class MasterView(View):
|
|||
session = self.Session()
|
||||
kwargs.setdefault('paginated', False)
|
||||
grid = self.make_grid(session=session, **kwargs)
|
||||
return grid.make_visible_data()
|
||||
return grid.get_visible_data()
|
||||
|
||||
def get_grid_columns(self):
|
||||
"""
|
||||
|
@ -1710,7 +1710,7 @@ class MasterView(View):
|
|||
kwargs.setdefault('paginated', False)
|
||||
kwargs.setdefault('sortable', sort)
|
||||
grid = self.make_row_grid(session=session, **kwargs)
|
||||
return grid.make_visible_data()
|
||||
return grid.get_visible_data()
|
||||
|
||||
@classmethod
|
||||
def get_row_url_prefix(cls):
|
||||
|
|
Loading…
Reference in a new issue