fix: move "searchable columns" grid feature to wuttaweb
This commit is contained in:
parent
1d00fe994a
commit
ffa724ef37
3 changed files with 15 additions and 16 deletions
|
@ -57,6 +57,12 @@ class TestGrid(WebTestCase):
|
|||
grid = self.make_grid(default_page=42)
|
||||
self.assertEqual(grid.page, 42)
|
||||
|
||||
# searchable
|
||||
grid = self.make_grid()
|
||||
self.assertEqual(grid.searchable_columns, set())
|
||||
grid = self.make_grid(searchable={'foo': True})
|
||||
self.assertEqual(grid.searchable_columns, {'foo'})
|
||||
|
||||
def test_vue_tagname(self):
|
||||
|
||||
# default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue