mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Don't reflect nofacet=1 and nocount=1 in BLOB URLs, refs #1353
This commit is contained in:
parent
ff45ed0ce5
commit
a18e8641bc
2 changed files with 6 additions and 3 deletions
|
|
@ -369,7 +369,7 @@ class DataView(BaseView):
|
|||
)
|
||||
else:
|
||||
# Otherwise generate URL for this query
|
||||
cell = self.ds.absolute_url(
|
||||
url = self.ds.absolute_url(
|
||||
request,
|
||||
path_with_format(
|
||||
request=request,
|
||||
|
|
@ -383,6 +383,9 @@ class DataView(BaseView):
|
|||
replace_format="csv",
|
||||
),
|
||||
)
|
||||
cell = url.replace("&_nocount=1", "").replace(
|
||||
"&_nofacet=1", ""
|
||||
)
|
||||
new_row.append(cell)
|
||||
row = new_row
|
||||
if not expanded_columns:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue