Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit bd20e84

Browse files
committed
regresion
1 parent e42cbd8 commit bd20e84

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/helpers/QueryHelper.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ import { DatabaseCore } from "helpers/Constants";
33
import { LOGGER } from "services/Logger";
44

55
export function generateDataviewTableQuery(columns: TableColumn[], fromQuery: string): string {
6-
return `TABLE ${columns
6+
LOGGER.info('generateDataviewTableQuery');
7+
const query = `TABLE ${columns
78
.filter((col) => !col.isMetadata)
8-
.map((col) => `"${col.key}"`)
9-
.join(",")},${DatabaseCore.DATAVIEW_FILE},${DatabaseCore.FRONTMATTER_KEY} ${fromQuery}`
9+
.map((col) => `${col.key}`)
10+
.join(",")},${DatabaseCore.DATAVIEW_FILE},${DatabaseCore.FRONTMATTER_KEY} ${fromQuery}`;
11+
LOGGER.info(`DV query of the source: ${query}`);
12+
return query;
1013
}
1114

1215

0 commit comments

Comments
 (0)