Skip to content

will_paginate renders the wrong number of pages #492

@tokhi

Description

@tokhi

I am using the latest will_paginate version.

This is what i have in the view:

<%= will_paginate(@all_profiles, :class => "innung-pagination", :inner_window => 3, :outer_window => 1, :previous_label => "", :next_label => "") %>

it renders something like below:

1 2 3 4 5 6 7 ... 102 103

As you see it give me '102' and `103' but in reality I only have 99 pages.

Any solution for this?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions