mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
clean up
This commit is contained in:
parent
c5e71a668c
commit
a53ca42a92
@ -6,6 +6,6 @@ rm -f "$CLIENT_DIR/app/lib"
|
||||
ln -s "$CLIENT_DIR/../lib" "$CLIENT_DIR/app"
|
||||
cp "$CLIENT_DIR/package.json" "$CLIENT_DIR/build"
|
||||
|
||||
# Always keep this as the last line so that the exist
|
||||
# Always keep this as the last line so that the exit
|
||||
# code of build.sh is the same as the build command:
|
||||
npm run build
|
@ -36,13 +36,9 @@ class Tag extends BaseItem {
|
||||
let noteIds = await this.tagNoteIds(tagId);
|
||||
if (!noteIds.length) return [];
|
||||
|
||||
let noteIdsSql = noteIds.join('","');
|
||||
noteIdsSql = '"' + noteIdsSql + '"';
|
||||
let options = {
|
||||
conditions: ['id IN (' + noteIdsSql + ')'],
|
||||
};
|
||||
|
||||
return Note.search(options);
|
||||
return Note.search({
|
||||
conditions: ['id IN ("' + noteIds.join('","') + '")'],
|
||||
});
|
||||
}
|
||||
|
||||
static async addNote(tagId, noteId) {
|
||||
|
Loading…
Reference in New Issue
Block a user