X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cc90867183367d7758a11da3f2058117c7529891..689dc6e451cb177a50d633af30ce27d5f637eb6d:/app/views/changeset/_changeset_paging_nav.rhtml diff --git a/app/views/changeset/_changeset_paging_nav.rhtml b/app/views/changeset/_changeset_paging_nav.rhtml index df84a3930..7be15305d 100644 --- a/app/views/changeset/_changeset_paging_nav.rhtml +++ b/app/views/changeset/_changeset_paging_nav.rhtml @@ -7,6 +7,12 @@ if (current_page.first_item < current_page.last_item) # if more than 1 changeset end %> of <%= @edit_pages.item_count %>) -<% if @edit_pages.page_count > 1 %> - | <%= pagination_links_each(@edit_pages, {}) { |n| link_to(n, :display_name => @display_name, :page => n) } %> -<% end %> +<% +if @edit_pages.page_count > 1 + bboxparam = h(params['bbox']) + bboxparam = nil if bboxparam=="" +%> + | <%= pagination_links_each(@edit_pages, {}) { |n| link_to(n, :display_name => @display_name, :bbox => bboxparam , :page => n) } %> +<% +end +%>