We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e7d487 commit 487bda6Copy full SHA for 487bda6
‎addons/api/addon/utils/sqlite-query.js‎
@@ -272,9 +272,7 @@ function addSearchConditions({
272
// Use a subquery to match against the FTS table with rowids as SQLite is
273
// much more efficient with FTS queries when using rowids or MATCH (or both).
274
// We could have also used a join here but a subquery is simpler.
275
- conditions.push(
276
- `"${tableName}".${search?.select ?? 'rowid'} IN (${searchSql})`,
277
- );
+ conditions.push(`"${tableName}".${searchSelect} IN (${searchSql})`);
278
}
279
280
function constructSelectClause(select = [{ field: '*' }], tableName) {
0 commit comments