mirror of
https://github.com/miniflux/v2.git
synced 2025-08-11 17:51:01 +00:00
History: show entries in the order in which they were read
Add a changed_at timestamp to the entries table. This field is updated whenever the entry's metadata changes.
This commit is contained in:
parent
dc4240e702
commit
2570c3410b
8 changed files with 50 additions and 14 deletions
|
@ -19,7 +19,7 @@ func TestValidateEntryStatus(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestValidateEntryOrder(t *testing.T) {
|
||||
for _, status := range []string{"id", "status", "published_at", "category_title", "category_id"} {
|
||||
for _, status := range []string{"id", "status", "changed_at", "published_at", "category_title", "category_id"} {
|
||||
if err := ValidateEntryOrder(status); err != nil {
|
||||
t.Error(`A valid order should not generate any error`)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue