diff --git a/appinfo/info.xml b/appinfo/info.xml index 6dc8208f..ada6b248 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -55,12 +55,12 @@ Memories is a *batteries-included* photo management solution for Nextcloud with memories.Page.main - - - OCA\Memories\Migration\Repair - - - OCA\Memories\Migration\Repair - - + + + OCA\Memories\Migration\Repair + + + OCA\Memories\Migration\Repair + + diff --git a/babel.config.js b/babel.config.js index 6cc757f6..2068aae5 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,15 +1,15 @@ module.exports = { - plugins: [ - '@babel/plugin-syntax-dynamic-import', - ], - presets: [ - [ - '@babel/preset-env', - { + plugins: [ + '@babel/plugin-syntax-dynamic-import', + ], + presets: [ + [ + '@babel/preset-env', + { "targets": "> 5%, not dead", - useBuiltIns: false, - modules: 'auto', - }, - ], - ], + useBuiltIns: false, + modules: 'auto', + }, + ], + ], } diff --git a/lib/Db/TimelineQueryDays.php b/lib/Db/TimelineQueryDays.php index 90750ccc..1e238863 100644 --- a/lib/Db/TimelineQueryDays.php +++ b/lib/Db/TimelineQueryDays.php @@ -31,11 +31,11 @@ const CTE_FOLDERS = // CTE to get all folders recursively in the given top folde ), *PREFIX*cte_folders AS ( SELECT fileid, - MIN(rootid) AS rootid + MIN(rootid) AS rootid FROM *PREFIX*cte_folders_all GROUP BY - fileid + fileid )'; const CTE_FOLDERS_ARCHIVE = // CTE to get all archive folders recursively in the given top folders @@ -317,8 +317,8 @@ trait TimelineQueryDays // Get SQL $CTE_SQL = \array_key_exists('cteFoldersArchive', $params) && $params['cteFoldersArchive'] - ? CTE_FOLDERS_ARCHIVE - : CTE_FOLDERS; + ? CTE_FOLDERS_ARCHIVE + : CTE_FOLDERS; // Add WITH clause if needed if (false !== strpos($sql, 'cte_folders')) {