Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Manual Order for Collection Items?

default discord avatar
58bits2 years ago
4

Just getting started with Payload - so far very impressed. Quick question about whether it's possible to manually order items in a collection? A good example would be a Team listing - where there are anywhere from 10-15 team bios (items in the collection), but we'd like to 'drag-and-drop' the order. It's also sometimes nice to order categories as well - for example if they are exposed as public filters etc. Thoughts?

  • default discord avatar
    58bits2 years ago

    Thanks for the reply

    @281120856527077378

    - that's good news. In the past without a feature like this we've 'fiddled' a date field (not displayed to the user), or manually added an integer 'order' field (again not shown).

  • discord user avatar
    jarrod_not_jared
    2 years ago

    Yeah I don’t think it will be a heavy lift honestly

  • default discord avatar
    58bits2 years ago
    @281120856527077378

    thought you might find this interesting

    https://youtu.be/5SQkOyzZLHM

    (although we're also a @dnd-kit user)

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.