Grafico dei commit

4 Commit

Autore SHA1 Messaggio Data
b0dbd88293 shared: qssquery: Fix sqlerror if sort condition comes last
If we had something like c:(test) sort:(mtime, desc), then
we would run into an sql error eventually, since we
would have added an implicit AND token before the sort
condition. This is wrong, as a sort is not a filter.

So, as a quick hack to fix this, just remove a preceeding
boolean (as dirty as it may be, but it does the job for now).
2021-03-07 22:54:24 +01:00
dd053f87f9 shared: qssquery: checkParanthesis(): Ignore paranthesis in quotes
Fixes #12
2020-12-19 12:52:40 +01:00
8047c16558 cli: search: implement -r, cleanup of options that don't belong there 2019-08-19 21:09:03 +02:00
404f05b89f Refactor search queries: Introduced QSSQuery
Purpose is to seperate certain logic from SQLite and generalize it more.
Even though we only have Sqlite atm, in general the database layers
must be stupid as possible, while QSSQuery should do most of the hard work.

Fixes in Tokenizer logic.
Switched to C++17.
2019-08-18 00:25:21 +02:00