Is there a way to get previously published versions documents using NXQL?
Suppose that I have published document 'abcd' with version 1.0. Then later, I modify the document and publish it with 1.5.
I want to get a hold of the previously published version of a document using NXQL. Is there a way to do that? Something like this:
SELECT * FROM Document WHERE ecm:uuid='abcd' and uid:major_version='1' and uid:minor_version='0'
This is not something that is exposed in standard Nuxeo Operations. But you can easily write your own leveraging the above, to get what you need.