Public shared questions filters aren't working

Hi,

The URLs for shared questions don't consider the added parameters for filtration if shared as a file (csv, xlsx or json).

So for example, the following link shows the data of a start date of (1-1-2024) and end date of (2-2-2024)
https://metabase.buffaloburger.com/public/question/b115d23b-a4f8-4462-97c1-0a77289d9ff0?startDate=2024-01-01&endDate=2024-02-02

However, if the following link is modified in order to get csv file as following, start and end dates filters are not implemented in the data generated.

https://metabase.buffaloburger.com/public/question/b115d23b-a4f8-4462-97c1-0a77289d9ff0.csv?startDate=2024-01-01&endDate=2024-02-02

Diagnostic Info

{
"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.20.1+1",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.20.1",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.20.1+1",
"os.name": "Linux",
"os.version": "5.15.0-101-generic",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"sqlserver",
"postgres",
"bigquery-cloud-sdk"
],
"hosting-env": "unknown",
"application-database": "h2",
"application-database-details": {
"database": {
"name": "H2",
"version": "2.1.214 (2022-06-13)"
},
"jdbc-driver": {
"name": "H2 JDBC Driver",
"version": "2.1.214 (2022-06-13)"
}
},
"run-mode": "prod",
"version": {
"date": "2023-09-18",
"tag": "v0.47.2",
"branch": "release-x.47.x",
"hash": "536c24c"
},
"settings": {
"report-timezone": "Africa/Cairo"
}
}
}

Can you upgrade to 49.3 and check if you still get the issue?

Yes I am currently working on version 0.49.5 and this issue still happens.

You need to use a URL similar to this. Check your network tab when you download to see how to call the URL

That's what I get when I try to download public shared question as an xlsx file.

So that's the URL you would need to call