Skip to content

Altering the order of first/previous and last/next #83

@JohnKacz

Description

@JohnKacz

If I wanted to do something like this

<%= pagination_links @conn, @page, distance: 2, first: "<<", previous: "<", next: ">", last: ">>", ellipsis: false %>

it would generate

< << 5 6 7 8 9 >> >

but I would want to generate

<< < 5 6 7 8 9 > >>

Another enhancement that I don't think is currently possible is always showing the previous/next buttons but mark them as disabled if on the first/last page respectively.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions