favgroups: convert post_ids from string to array.
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<ul id="sortable">
|
||||
<% @favorite_group.posts(:limit => 1_000).each do |post| %>
|
||||
<li class="ui-state-default" id="favorite_group[post_id_array]_<%= post.id %>">
|
||||
<% @favorite_group.posts.limit(1_000).each do |post| %>
|
||||
<li class="ui-state-default" id="favorite_group[post_ids]_<%= post.id %>">
|
||||
<%= PostPresenter.preview(post).presence || "Hidden: Post ##{post.id}" %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user