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.

Version details page incorrect (?) date

default discord avatar
klapec2 years ago
2

Hi, I'm confused about the way document versioning works in Payload. I've got it set up as


  versions: {
    drafts: {
      autosave: false,
    },
    maxPerDoc: 10,
  },

in one of my collections. When I click the "x versions found" link in the sidebar I'm greeted with a page listing all the recent changes to the document. Howver, when I click on one of the dates in the first column I'm being redirected into version details page - with a date below "Version created on:" that does not match the date that I clicked on.



I've attached a quick screencast.



Also: the "Compare version against:" dropdown has the same date listed multiple times (screenshot included).


How can I debug this? I'm running payload@1.8.6 (as payload-swagger is incompatible with newer versions).

  • default discord avatar
    jessrynkar2 years ago

    Hi

    @447314135168843796

    , hmm this seems like a bug with versioning. Would you be able to open a GitHub issue and drop this information in there?

    https://github.com/payloadcms/payload/issues
  • default discord avatar
    klapec2 years ago

    sure, thanks

    @854377910689202256
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.