fix: avoid deprecated grid method

This commit is contained in:
Lance Edgar 2024-10-23 09:46:14 -05:00
parent 28f90ad6b5
commit 9a6f8970ae

View file

@ -412,7 +412,7 @@ class MasterView(View):
session = self.Session() session = self.Session()
kwargs.setdefault('paginated', False) kwargs.setdefault('paginated', False)
grid = self.make_grid(session=session, **kwargs) grid = self.make_grid(session=session, **kwargs)
return grid.make_visible_data() return grid.get_visible_data()
def get_grid_columns(self): def get_grid_columns(self):
""" """
@ -1710,7 +1710,7 @@ class MasterView(View):
kwargs.setdefault('paginated', False) kwargs.setdefault('paginated', False)
kwargs.setdefault('sortable', sort) kwargs.setdefault('sortable', sort)
grid = self.make_row_grid(session=session, **kwargs) grid = self.make_row_grid(session=session, **kwargs)
return grid.make_visible_data() return grid.get_visible_data()
@classmethod @classmethod
def get_row_url_prefix(cls): def get_row_url_prefix(cls):