mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
Fix sort when using fulltext only
This commit is contained in:
@ -29,6 +29,11 @@ class FulltextExtractTest extends FunSuite {
|
||||
findFts("content:\"what OR hello\""),
|
||||
Result.Success(ItemQuery.all.expr, "what OR hello".some)
|
||||
)
|
||||
|
||||
assertEquals(
|
||||
findFts("(& content:\"what OR hello\" )"),
|
||||
Result.Success(ItemQuery.all.expr, "what OR hello".some)
|
||||
)
|
||||
}
|
||||
|
||||
test("find no fulltext") {
|
||||
|
Reference in New Issue
Block a user