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.
13 lines
305 B
PL/PgSQL
Executable File
13 lines
305 B
PL/PgSQL
Executable File
-- Type: DO
|
|
-- Name: update_highlights_saved_search
|
|
-- Description: Update highlights saved search to use all instead of inbox
|
|
|
|
BEGIN;
|
|
|
|
UPDATE omnivore.filters
|
|
SET filter = 'in:all has:highlights mode:highlights'
|
|
WHERE name = 'Highlights'
|
|
AND filter = 'has:highlights mode:highlights' ;
|
|
|
|
COMMIT;
|