about summary refs log tree commit diff
path: root/app/views/accounts
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-24 12:49:34 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-24 12:49:34 +0100
commit7e58303a8da90b31f4179695283d3ac19dfb09d1 (patch)
tree705a53da3f360379737293d234a52af1748ae312 /app/views/accounts
parentc8999a116ef71bef2cb28a783e4ba3d8e3cea6fa (diff)
Limit Atom feeds to 20 items by default, add pagination by max_id
(But there are no Atom feed pagination elements yet)
Diffstat (limited to 'app/views/accounts')
-rw-r--r--app/views/accounts/show.atom.ruby2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/show.atom.ruby b/app/views/accounts/show.atom.ruby
index e2ae57cc4..b7e3d2590 100644
--- a/app/views/accounts/show.atom.ruby
+++ b/app/views/accounts/show.atom.ruby
@@ -15,7 +15,7 @@ Nokogiri::XML::Builder.new do |xml|
     link_hub       xml, Rails.configuration.x.hub_url
     link_salmon    xml, api_salmon_url(@account.id)
 
-    @entries.order('id desc').each do |stream_entry|
+    @entries.each do |stream_entry|
       entry(xml, false) do
         include_entry xml, stream_entry
       end