mirror of
https://github.com/apache/superset.git
synced 2026-04-17 07:05:04 +00:00
fix(explore): replace TableView with virtualized GridTable, add row limit controls, restore sample filters (#39212)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
de40b58e10
commit
fa1f12a0b5
@@ -807,7 +807,7 @@ def test_get_samples_pagination(test_client, login_as_admin, virtual_dataset):
|
||||
assert rv.json["result"]["total_count"] == 10
|
||||
|
||||
# 2. incorrect per_page
|
||||
per_pages = (current_app.config["SAMPLES_ROW_LIMIT"] + 1, 0, "xx")
|
||||
per_pages = (10001, 0, "xx")
|
||||
for per_page in per_pages:
|
||||
uri = f"/datasource/samples?datasource_id={virtual_dataset.id}&datasource_type=table&per_page={per_page}" # noqa: E501
|
||||
rv = test_client.post(uri, json={})
|
||||
|
||||
Reference in New Issue
Block a user