You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-24 23:26:50 +02:00
All: Fix sorting by title in a case insensitive way
This commit is contained in:
@ -255,14 +255,6 @@ class BaseModel {
|
||||
if (!options) options = {};
|
||||
|
||||
if (options.order && options.order.length) {
|
||||
// const items = [];
|
||||
// for (let i = 0; i < options.order.length; i++) {
|
||||
// const o = options.order[i];
|
||||
// let item = `\`${o.by}\``;
|
||||
// if (options.caseInsensitive === true) item += ' COLLATE NOCASE';
|
||||
// if (o.dir) item += ` ${o.dir}`;
|
||||
// items.push(item);
|
||||
// }
|
||||
sql += ` ORDER BY ${paginationToSql(options)}`;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user