Unpublished Publish status option searching only for deactivated assets | Community
Skip to main content
Level 2
May 13, 2020
Solved

Unpublished Publish status option searching only for deactivated assets

  • May 13, 2020
  • 1 reply
  • 2801 views

I have found when you select Unpublished as the Publish status on the asset picker page side panel it searches for assets that have been deactivated. I would have thought the search should also include assets that have never been published. Do you think this is a bug or an intentional feature?

 

 

Query Statement:

 

/jcr:root/content/dam//element(*, dam:Asset)[not((_x002e_./@hidden = 'true')) and (jcr:contains(jcr:content/metadata/@dc:format, '"image" OR "application/x-ImageSet" OR "application/x-SpinSet" OR "application/x-MixedMediaSet" OR "application/x-CarouselSet"')) and (jcr:contains(., 'sample') and jcr:content/@cq:lastReplicationAction = 'Deactivate')] order by jcr:content/@jcr:lastModified descending

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by danc13675873

I think it is correct as not selecting either Published or Unpublished will return you assets that haven't been published.

1 reply

danc13675873AuthorAccepted solution
Level 2
May 13, 2020

I think it is correct as not selecting either Published or Unpublished will return you assets that haven't been published.