Ticket #645 (new Improvement)
Opened 3 years ago
Query Language: where clause: get documents matching contextdoc's collection(s)
|Reported by:||vincent@…||Owned by:||somebody|
|Component:||Repository - querying and indexing||Version:||2.2|
[jira2trac import : issue created on May 6, 2008 2:28:34 PM CEST http://issues.cocoondev.org/browse/DSY-645 ]
It basically comes down to being able to create such a query in the Daisy Query Language:
select name, id
where collections has any (ContextDoc?(collections))
This means: being able to select documents, whose collection(s) match the current context document's collection(s).
This would prevent to place hard coded collections inside a query, thus making the query flexible and being able to apply it to multiple sites/collections.