mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2026-04-28 03:07:38 +02:00
Searching in matching questiondbs first
This commit is contained in:
@@ -564,7 +564,7 @@ if (!isMainThread) {
|
||||
|
||||
try {
|
||||
qdbs.forEach((qdb) => {
|
||||
if (searchIn === 'all' || searchIn.includes(qdb.index)) {
|
||||
if (searchIn.length === 0 || searchIn.includes(qdb.index)) {
|
||||
const res = doSearch(
|
||||
qdb.data,
|
||||
subjName,
|
||||
|
||||
Reference in New Issue
Block a user