Fix changeset paging.
This commit is contained in:
parent
e94d21f829
commit
2c5f5a0114
1 changed files with 1 additions and 10 deletions
|
@ -7,14 +7,5 @@ if (current_page.first_item < current_page.last_item) # if more than 1 changeset
|
|||
%>-<%= current_page.last_item %><%
|
||||
end %>
|
||||
<%= t'changeset.changeset_paging_nav.of'%> <%= @edit_pages.item_count %>)
|
||||
|
||||
<%
|
||||
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
|
||||
%>
|
||||
| <%= pagination_links_each(@edit_pages, {}) { |n| link_to(n, params.merge({ :page => n })) } %>
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue