mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
Add "NowPlayingItemName" to skippedColumns in query results
This commit is contained in:
@@ -160,7 +160,7 @@ async function query({
|
||||
const countResult = await client.query(countQuery, values);
|
||||
const totalRows = parseInt(countResult.rows.length > 0 ? countResult.rows[0].count : 0, 10);
|
||||
|
||||
const skippedColumns = ["Name"];
|
||||
const skippedColumns = ["Name", "NowPlayingItemName"];
|
||||
// Convert integer fields in the result rows
|
||||
const convertedRows = result.rows.map((row) => {
|
||||
return Object.keys(row).reduce((acc, key) => {
|
||||
|
||||
@@ -180,7 +180,7 @@ async function query(text, params, refreshViews = false) {
|
||||
}
|
||||
}
|
||||
|
||||
const skippedColumns = ["Name"];
|
||||
const skippedColumns = ["Name", "NowPlayingItemName"];
|
||||
// Convert integer fields in the result rows
|
||||
const convertedRows = result.rows.map((row) => {
|
||||
return Object.keys(row).reduce((acc, key) => {
|
||||
|
||||
Reference in New Issue
Block a user