diff options
author | BonfaceKilz | 2020-12-23 16:38:43 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-12-23 16:38:43 +0300 |
commit | 1b351c9ad469014350d8abb092e33c9e3215805d (patch) | |
tree | 493ccac1070c81f21b70b4c085102e23436569f6 /bh20simplewebuploader/templates | |
parent | 6e060269c8eef4bde87291770c3fa26726c4a1a1 (diff) | |
download | bh20-seq-resource-1b351c9ad469014350d8abb092e33c9e3215805d.tar.gz bh20-seq-resource-1b351c9ad469014350d8abb092e33c9e3215805d.tar.lz bh20-seq-resource-1b351c9ad469014350d8abb092e33c9e3215805d.zip |
Order tweets in the feed by highest score
Diffstat (limited to 'bh20simplewebuploader/templates')
-rw-r--r-- | bh20simplewebuploader/templates/home.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bh20simplewebuploader/templates/home.html b/bh20simplewebuploader/templates/home.html index 8a9c27b..b1e52be 100644 --- a/bh20simplewebuploader/templates/home.html +++ b/bh20simplewebuploader/templates/home.html @@ -39,7 +39,7 @@ Pubmed content </ul> <ul class="tab content-tweets"> - {% for tweet in tweets|sort(reverse=true, attribute="timeposted")%} + {% for tweet in tweets|sort(reverse=true, attribute="score")%} <li> <p class="tweet"> {{ tweet.tweet|urlize(40, target="_blank") }} <br/> |