You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I needed to perform the following code changes to latest dashboard to enable saving and removing of widgets in dashboard.
These are for PostgreSQL 10.10, PHP 7.2.15, Nextcloud 17.0.0 Beta 4 and Dashboard 6.0.0 from nextcloud app store
in lib/Db/SettingsRequest.php:
change
$qb->set('enabled', $qb->createNamedParameter(false));
to
$qb->set('enabled', $qb->createNamedParameter('false'));
in lib/Db/SettingsRequestBuilder.php:
change
->setEnabled(($data['enabled'] === '1') ? true : false);
to
->setEnabled(($data['enabled'] === true) ? true : false);
Hi,
I needed to perform the following code changes to latest dashboard to enable saving and removing of widgets in dashboard.
These are for PostgreSQL 10.10, PHP 7.2.15, Nextcloud 17.0.0 Beta 4 and Dashboard 6.0.0 from nextcloud app store
in lib/Db/SettingsRequest.php:
change
$qb->set('enabled', $qb->createNamedParameter(false));
to
$qb->set('enabled', $qb->createNamedParameter('false'));
in lib/Db/SettingsRequestBuilder.php:
change
->setEnabled(($data['enabled'] === '1') ? true : false);
to
->setEnabled(($data['enabled'] === true) ? true : false);