mirror of https://github.com/readrops/Readrops.git
Add support for the new articles filter in main query builder
This commit is contained in:
parent
56b2943fa1
commit
4467774070
|
@ -72,6 +72,7 @@ object ItemsQueryBuilder {
|
||||||
append("starred = 1 And read_it_later = 0")
|
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")
|
else -> append("read_it_later = 0")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue