mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
account for the fact that the image index is delayed
This commit is contained in:
parent
039db5a329
commit
187178cdd4
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ defmodule PhilomenaWeb.Image.NavigateController do
|
|||
|
||||
page_num = page_for_offset(pagination.page_size, images.total_entries)
|
||||
|
||||
redirect(conn, to: Routes.image_path(conn, :index, page: page_num))
|
||||
redirect(conn, to: Routes.search_path(conn, :index, q: "*", page: page_num))
|
||||
end
|
||||
|
||||
defp page_for_offset(per_page, offset) do
|
||||
|
|
Loading…
Reference in a new issue