From ed37bf0ff862ba27333a895cf35cb61dee6d64ff Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 9 Jul 2025 15:37:39 -0500 Subject: [PATCH] When adding a card out of context, default to most recently accessed collection --- app/views/events/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/events/index.html.erb b/app/views/events/index.html.erb index fd0fff703..7bcf1fc15 100644 --- a/app/views/events/index.html.erb +++ b/app/views/events/index.html.erb @@ -10,7 +10,7 @@
- <% if collection = @filter.single_collection || Current.user.collections.first %> + <% if collection = @filter.single_collection || Current.user.collections.ordered_by_recently_accessed.first %> <%= button_to collection_cards_path(collection), method: :post, class: "btn btn--link btn--circle-mobile" do %> <%= icon_tag "add" %> Add a card