We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1348ff3 commit 7bfbe0eCopy full SHA for 7bfbe0e
1 file changed
src/datasource.ts
@@ -60,6 +60,8 @@ export class DataSource extends DataSourceApi<LFQuery, LFDataSourceOptions> {
60
sparql = sparql.replace(/[?$]_from/g, fromTime.toString());
61
sparql = sparql.replace(/[?$]_to/g, toTime.toString());
62
63
+ sparql = this.templateSrv.replace(sparql);
64
+
65
console.log("final query", sparql);
66
67
const fetchFunc = async (input: Request | string, init?: RequestInit): Promise<Response> => {
0 commit comments