Skip to content

Comments

Fix the broken export of Session tracks to GPX#80

Open
FaySmash wants to merge 1 commit intojulien-nc:mainfrom
FaySmash:patch-1
Open

Fix the broken export of Session tracks to GPX#80
FaySmash wants to merge 1 commit intojulien-nc:mainfrom
FaySmash:patch-1

Conversation

@FaySmash
Copy link

Fixes this SQL Error when trying to export a Session to GPX

ERROR:
column "dev.name" must appear in the GROUP BY clause or be used in an aggregate function at character 29

STATEMENT:
SELECT dev.id AS id, dev.name AS name
FROM oc_phonetrack_devices AS dev, oc_phonetrack_points AS po WHERE dev.sessionid='xxxxx' AND dev.id = po.deviceid GROUP BY dev.id;

Fixes this SQL Error when trying to export a Session to GPX

ERROR:
column "dev.name" must appear in the GROUP BY clause or be used in an aggregate function at character 29

STATEMENT: 
SELECT dev.id AS id, dev.name AS name
FROM oc_phonetrack_devices AS dev, oc_phonetrack_points AS po
WHERE dev.sessionid='xxxxx' AND dev.id = po.deviceid GROUP BY dev.id;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant