[daisy] Query using UserId() doesn't work in navigation tree

Yves Langisch yves at langisch.ch
Sat Oct 14 15:01:57 CDT 2006


Hi,

With the following query I try to get all 'mydoc' documents owned by the 
current user:

select name where documentType='mydoc' and ownerId=UserId()

Trying this query under Tools/Query Search I get a bunch of documents 
whereas putting the same query into a navigation tree doesn't return any 
documents. After replacing UserId() with a hardcoded value everything is 
fine. It looks like the UserId() function doesn't work inside a 
navigation tree query.

What's wrong here?

Thanks
Yves


More information about the daisy mailing list