mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Searching in matching questiondbs first
This commit is contained in:
parent
87f9bbd3a3
commit
98f2cc4608
4 changed files with 68 additions and 22 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue