Open punkyard opened 11 months ago
my logs
`[index] Error: OC\DB\Exceptions\DbalException: An exception occurred while executing a query: SQLSTATE[42803]: Grouping error: 7 ERROR: column "oc_shifts_type.id" must appear in the GROUP BY clause or be used in an aggregate function
LINE 1: SELECT "id", "skill_group_id" FROM "oc_shifts_type" GROUP BY...
^ at <
Caused by:
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing a query: SQLSTATE[42803]: Grouping error: 7 ERROR: column "oc_shifts_type.id" must appear in the GROUP BY clause or be used in an aggregate function
LINE 1: SELECT "id", "skill_group_id" FROM "oc_shifts_type" GROUP BY...
^ at <
Caused by:
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42803]: Grouping error: 7 ERROR: column "oc_shifts_type.id" must appear in the GROUP BY clause or be used in an aggregate function
LINE 1: SELECT "id", "skill_group_id" FROM "oc_shifts_type" GROUP BY...
^ at <
Caused by:
PDOException: SQLSTATE[42803]: Grouping error: 7 ERROR: column "oc_shifts_type.id" must appear in the GROUP BY clause or be used in an aggregate function
LINE 1: SELECT "id", "skill_group_id" FROM "oc_shifts_type" GROUP BY...
^ at <
PUT /apps/shifts/settings from 185.252.235.96 by lerez0 at 2023-09-03T22:59:01+00:00`
in fact, the search function does not work in the config page in admin settings
Hi @punkyard,
yes, currently there is only one plan for everybody. Multiple plans for differen groups would be a nice feature. I've added it to our todo. I think we will implement this feature together with the refactored backend since the current structure of the backend (and frontend) do not allow such a feature.
The admin settings are only accessible for Nextcloud-Admins, regardless of your shifts app user status. For the new feature it would be good when the shift admins can create new plans.
I think you have the same issue as described in #45 A quick fix will be to remove 'only_full_group_by' from your SQL_MODE (SHOW VARIABLES LIKE 'sql_mode').
hi i think i understand the app creates one single shift plan for everybody in next cloud instance, as only one email admin address can be added, is this correct?
What about when we have 12 teams with different people in each, and would like to have a custom shift plan for each team?
for instance, if the admin group is not set as permitted to use this app, users/team manages can't access Shifts settings. Is this correct too?
so far I can't add a user-group, an email and save .. error: Could not save Settings one AIO v7 shift 193
thanks for the update to NC27 !!