Skip to content

Feature request: getPrevUrls(2) and getNextUrls(2) #94

Closed

Description

@shoored

When working with ElementAPI and a Javascript front-end — for example Vue — the pagination options are a bit slim.

It would be nice to be able to create the same pagination links as we can with Twig Pagination while also preserving the querystrings as is with the current prev and next links in the JSON meta object.

Activity

  1. brandonkelly commented on Aug 1, 2019

    @brandonkelly
    Member

    Can you elaborate a bit on this?

  2. simondotwhite commented on Sep 26, 2019

    @simondotwhite

    I think @studiosyntax means the ability to return the URLs for multiple previous/next links.

    https://docs.craftcms.com/v3/dev/tags/paginate.html#nearby-page-links

    That's the documentation link for it.

  3. bkmorse commented on Jun 2, 2020

    @bkmorse

    This would be an awesome addition to this plugin.

  4. locked and limited conversation to collaborators on Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions