Fix exception in /pools/:id/order/edit.

This commit is contained in:
evazion
2019-08-25 21:06:16 -05:00
parent 86fa502c71
commit edc0c9df32
2 changed files with 22 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
<%= render "posts/partials/common/inline_blacklist" %>
<ul id="sortable">
<% @pool.posts(:limit => 1_000).each do |post| %>
<% @pool.posts.limit(100).each do |post| %>
<li class="ui-state-default" id="pool[post_ids]_<%= post.id %>">
<%= PostPresenter.preview(post).presence || "Hidden: Post ##{post.id}" %>
</li>