Skip to content

Remote pagination with maxsteps=0 #10

@yurenaghm

Description

@yurenaghm

Hi,

I was trying to use remotePagination tag with maxsteps=0, in order to show only previous and next links, but it's not working as I was expecting, because I guess the taglib is setting it to 10 due to the param initialization expression:

Integer maxsteps = params.int('maxsteps') ?: (attrs.int('maxsteps') ?: 10)

I was using version 0.3 before and I think it was working as I want, but not now in version 0.4.6.
What do you think about this? There is another way to do that with this plugin?

Thanks for the plugin anyway :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions