forked from e621ng/e621ng
parent
a3a508c92c
commit
7c03dddc56
@ -6,7 +6,7 @@
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<ul id="sortable">
|
||||
<% @pool.posts(:limit => 1_000).each do |post| %>
|
||||
<% @pool.posts.paginate(1, limit: 1_000).each do |post| %>
|
||||
<li class="ui-state-default" id="pool[post_ids]_<%= post.id %>">
|
||||
<%= PostPresenter.preview(post).presence || "Hidden: Post ##{post.id}" %>
|
||||
</li>
|
||||
|
@ -115,5 +115,10 @@ class PoolsControllerTest < ActionDispatch::IntegrationTest
|
||||
assert_response :missing
|
||||
end
|
||||
end
|
||||
|
||||
should "render the order action" do
|
||||
get_auth edit_pool_order_path(@pool), @user
|
||||
assert_response :success
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user