You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Fixed synchronizer conflict handling when deleting folders
This commit is contained in:
@ -213,8 +213,15 @@ class Database {
|
||||
}
|
||||
|
||||
if (typeof where != 'string') {
|
||||
params.push(where.id);
|
||||
where = 'id=?';
|
||||
let s = [];
|
||||
for (let n in where) {
|
||||
if (!where.hasOwnProperty(n)) continue;
|
||||
params.push(where[n]);
|
||||
s.push('`' + n + '`=?');
|
||||
}
|
||||
where = s.join(' AND ');
|
||||
// params.push(where.id);
|
||||
// where = 'id=?';
|
||||
}
|
||||
|
||||
return {
|
||||
|
Reference in New Issue
Block a user