From 70c659192fca93340a07d3c7e2a7dade492ad4d6 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sun, 24 Dec 2017 23:13:28 +0100 Subject: [PATCH] Fix default aspects on profile page and bookmarklet publisher Fixes #7679 --- app/views/publisher/_publisher.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/publisher/_publisher.html.haml b/app/views/publisher/_publisher.html.haml index 74ae6c82c..79b5636cd 100644 --- a/app/views/publisher/_publisher.html.haml +++ b/app/views/publisher/_publisher.html.haml @@ -42,8 +42,8 @@ - elsif all_aspects_selected?(selected_aspects) = hidden_field_tag "aspect_ids[]", "all_aspects" - else - - for aspect_id in aspect_ids - = hidden_field_tag "aspect_ids[]", aspect_id.to_s + - selected_aspects.each do |aspect| + = hidden_field_tag "aspect_ids[]", aspect.id .hidden#publisher_spinner .loader