fixed missing comma
This commit is contained in:
parent
8796f73578
commit
baf340af46
|
|
@ -9,7 +9,7 @@ const _userHasPlacesSelectQuery = (_pagination = '') => ({ count }) => ({ uuid,
|
||||||
const descriptionCondition = description ? `AND up.description LIKE CONCAT('%',:description,'%')` : '';
|
const descriptionCondition = description ? `AND up.description LIKE CONCAT('%',:description,'%')` : '';
|
||||||
|
|
||||||
// Conditional fields and joins for the report type
|
// Conditional fields and joins for the report type
|
||||||
const reportTypeFields = report_type_uuid ? `rt.name AS report_type_name,
|
const reportTypeFields = report_type_uuid ? `, rt.name AS report_type_name,
|
||||||
rt.uuid AS report_type_uuid` : '';
|
rt.uuid AS report_type_uuid` : '';
|
||||||
|
|
||||||
const reportTypeJoin = report_type_uuid ? 'LEFT JOIN dbmaster.report_types AS rt ON up.fk_report_type = rt.id' : '';
|
const reportTypeJoin = report_type_uuid ? 'LEFT JOIN dbmaster.report_types AS rt ON up.fk_report_type = rt.id' : '';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue