posts: eliminate pool_id, favgroup_id url params.
Replace the `pool_id` and `favgroup_id` url params:
https://danbooru.donmai.us/posts/123?pool_id=456
https://danbooru.donmai.us/posts/123?favgroup_id=456
with the `q` param:
https://danbooru.donmai.us/posts/123?q=pool:456
https://danbooru.donmai.us/posts/123?q=favgroup:456
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<% if @pool.post_count == 0 %>
|
||||
<%= render "post_sets/blank" %>
|
||||
<% else %>
|
||||
<%= post_previews_html(@posts, pool_id: @pool.id, show_deleted: @pool.is_series?) %>
|
||||
<%= post_previews_html(@posts, tags: "pool:#{@pool.id}", show_deleted: @pool.is_series?) %>
|
||||
|
||||
<%= numbered_paginator(@posts) %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user