Activity bumps cards to the top of triaged columns, too

This commit is contained in:
Jason Zimdars
2025-10-13 15:51:35 -05:00
parent fb865effac
commit 94b5b6fc9e
2 changed files with 2 additions and 2 deletions
@@ -4,7 +4,7 @@ class Collections::ColumnsController < ApplicationController
before_action :set_column, only: [ :show, :update, :destroy ]
def show
set_page_and_extract_portion_from @column.cards.active.reverse_chronologically.with_golden_first
set_page_and_extract_portion_from @column.cards.active.by_last_activity.with_golden_first
fresh_when etag: [ @column, @page.records ]
end
@@ -8,7 +8,7 @@ class Public::Collections::ColumnsController < ApplicationController
before_action :set_column, only: :show
def show
set_page_and_extract_portion_from @column.cards.active.reverse_chronologically.with_golden_first
set_page_and_extract_portion_from @column.cards.active.by_last_activity.with_golden_first
# To enable caching at intermediate proxies during traffic spikes
expires_in 5.seconds, public: true