We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa16c48 commit fc3cb35Copy full SHA for fc3cb35
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "quickwit-datasource",
3
- "version": "0.8.1+paypay",
+ "version": "0.8.2+paypay",
4
"description": "Quickwit datasource",
5
"scripts": {
6
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",
src/datasource/base.ts
@@ -402,7 +402,12 @@ export class BaseQuickwitDataSource
402
}
403
404
adhocFilters.forEach((filter) => {
405
- finalQuery = addAddHocFilter(finalQuery, filter);
+ // Replace template variables in filter values
406
+ const interpolatedFilter = {
407
+ ...filter,
408
+ value: this.templateSrv.replace(filter.value),
409
+ };
410
+ finalQuery = addAddHocFilter(finalQuery, interpolatedFilter);
411
});
412
413
return finalQuery;
0 commit comments