List tagged documents in domain
-------------------------------

                 Key: NXP-3717
                 URL: http://jira.nuxeo.org/browse/NXP-3717
             Project: Nuxeo Enterprise Platform
          Issue Type: Improvement
          Components: Tagging
    Affects Versions: 5.2 GA
            Reporter: Radu Darlea
             Fix For: 5.2.x


A new query type is needed in tag service:
SELECT DISTINCT tagging.targetDocument.id FROM Tagging tagging WHERE 
(tagging.isPrivate=false OR tagging.author=:userName) AND tagging.tag.id = 
:tagId AND tagging.targetDocument.id IN (SELECT ID FROM Document WHERE ecm:path 
STARTSWITH '%s')
This is listing the documents tagged with a particular tag which are located in 
a specific domain.
The need of such query comes from the need to list the documents tagged only n 
the current domain, not from entire repository.

Currently the issue is fixed in Java selection by filtering the results of 
listing the documents tagged by the parent site.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to