1
0
looqs/shared
Albert S e88d0e57b2 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
..
common.cpp Detect first run and initialize database and config 2020-08-24 21:36:45 +02:00
common.h Detect first run and initialize database and config 2020-08-24 21:36:45 +02:00
create.qrc Ship database creation script as embedded resource 2020-08-24 21:33:56 +02:00
create.sql Ship database creation script as embedded resource 2020-08-24 21:33:56 +02:00
filedata.h move more files to shared project ; searchresultt.h: use filedata.h 2019-04-22 21:07:41 +02:00
qssgeneralexception.cpp move more files to shared project ; searchresultt.h: use filedata.h 2019-04-22 21:07:41 +02:00
qssgeneralexception.h move more files to shared project ; searchresultt.h: use filedata.h 2019-04-22 21:07:41 +02:00
qssquery.cpp shared: qssquery: Fix sqlerror if sort condition comes last 2021-03-07 22:54:24 +01:00
qssquery.h cli: search: implement -r, cleanup of options that don't belong there 2019-08-19 21:09:03 +02:00
searchresult.h search: Avoid redundant results by placing pages into vector instead of returning searchresult for each page 2019-04-26 15:31:42 +02:00
shared.pro Ship database creation script as embedded resource 2020-08-24 21:33:56 +02:00
sqlitesearch.cpp shared: sqlitesearch: Remove subquery for content search 2021-03-07 22:27:48 +01:00
sqlitesearch.h Refactor search queries: Introduced QSSQuery 2019-08-18 00:25:21 +02:00
token.cpp Refactor search queries: Introduced QSSQuery 2019-08-18 00:25:21 +02:00
token.h Refactor search queries: Introduced QSSQuery 2019-08-18 00:25:21 +02:00