mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
This query is more of what people want, all their created highlights, not just ones in their current inbox. Since a normal workflow would be: read + highlight, archive, review highlights.
12 lines
307 B
PL/PgSQL
Executable file
12 lines
307 B
PL/PgSQL
Executable file
-- Type: UNDO
|
|
-- Name: update_highlights_saved_search
|
|
-- Description: Update highlights saved search to use all instead of inbox
|
|
|
|
BEGIN;
|
|
|
|
UPDATE omnivore.filters
|
|
SET filter = 'has:highlights mode:highlights'
|
|
WHERE name = 'Highlights'
|
|
AND filter = 'in:all has:highlights mode:highlights' ;
|
|
|
|
COMMIT;
|