summaryrefslogtreecommitdiffstats
path: root/model/post_list.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/post_list.go')
-rw-r--r--model/post_list.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/model/post_list.go b/model/post_list.go
index 4c0f5408e..5a479ca35 100644
--- a/model/post_list.go
+++ b/model/post_list.go
@@ -75,7 +75,12 @@ func (o *PostList) Etag() string {
}
}
- return Etag(id, t)
+ orderId := ""
+ if len(o.Order) > 0 {
+ orderId = o.Order[0]
+ }
+
+ return Etag(orderId, id, t)
}
func (o *PostList) IsChannelId(channelId string) bool {