TriliumNext / Notes

Build your personal knowledge base with TriliumNext Notes
GNU Affero General Public License v3.0
739 stars 37 forks source link

(Bug report) Search not working correctly #162

Closed alexpietsch closed 2 months ago

alexpietsch commented 4 months ago

Trilium Version

-

What operating system are you using?

Ubuntu

What is your setup?

Local (no sync)

Operating System Version

Linux ubuntu 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Description

When running the "search" jasmin tests, the assertions fail. Mostly, the number of search results is wrong, or values which should be truthy are undefined.

Steps to reproduce:

Expected result: 8 failures (as on current master)

Actual result: 20 failures

Note: - To help debugging, set searchContext.debug = true; - Running the tests is still wip, so some may fail for different reasons

Error logs

No response