The JSON we receive from prismic has the wrong order for some of our articles custom types.
For most articles we receive the right order
{"paragraph_title"=>
"paragraph_content"=>
}
But for a few like this one, The JSON is in the wrong order
{"paragraph_content"=>
"paragraph_title"=>
}
They're both using the same custom type and slice type (article_rich_text). Some have the order issue for a few slices in the document, others have all of their slices misordered and most are fine.
Thanks for sending the information. I've taken a look and was able to reproduce the issue. The only thing I can think of is that the content model was updated recently and not all the existing documents have been updated to the new changes.
Whether this is the issue or not, I found that if you make a slight change and save the document, then the response updates to the correct order.
Give this a try with the other documents that are having the issue and let me know if that clears things up for you or not.
system
(system)
closed as resolved, flag & select 'Something Else' to reopen.
7
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.