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.

Sorting on collections doesn't work, messes up because of draft=true

default discord avatar
nullregex2 years ago
6


C is on the top, it should be A



bugging







it seems the sorting also doesnt work on COntent and site



this happens when there is a pagination



Found the cause





can we somewhat change



the draft=true



to false



because this messes up the sort



sorting



when clicking it on payload



Sorting on collections doesn't work, messes up because of draft=true



draft=true results





draft=false resul;ts





fixes the alphabetical sorting

  • default discord avatar
    jessrynkar2 years ago
    @200874031556067330

    what version of payload are you on?

  • default discord avatar
    nullregex2 years ago

    How do I check for the version?

  • discord user avatar
    jmikrut
    2 years ago

    we need to keep

    draft: true

    on that page, but this might be a bug with Payload, depending on which version you are on



    to determine which version you've got installed, run

    npm list payload
  • default discord avatar
    nullregex2 years ago

    I have 1.6.15



  • discord user avatar
    jmikrut
    2 years ago

    try and update



    yarn add payload
  • default discord avatar
    nullregex2 years ago

    Alright

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.