Add support for the new articles filter in main query builder

This commit is contained in:
Shinokuni 2024-02-28 22:46:08 +01:00
parent 56b2943fa1
commit 4467774070
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ object ItemsQueryBuilder {
append("starred = 1 And read_it_later = 0")
}
}
FilterType.NEW -> append("DateTime(Round(pub_date / 1000), 'unixepoch') Between DateTime(DateTime(\"now\"), \"-24 hour\") And DateTime(\"now\") ")
else -> append("read_it_later = 0")
}