[req] fix find() generating non-rewritable rql on non final relations
When filtering on a relation, find() was generating rql like
'Any X WHERE X is ETYPE, X relation EID' which work without being rewritten (it
should probably not), but when applying some rewrite (eg. permissions) it raise
in rqlrewrite code.
def _use_orig_term(self, snippet_varname, term):
...
> self.rewritten[key] = term.name
E AttributeError: 'Constant' object has no attribute 'name'
Generate valid rql instead 'Any X WHERE X is ETYPE, X relation Y, Y eid EID'.
.. role:: raw-html(raw)
:format: html
RSS driven
----------
RSS is a pretty useful technology that can be widely used on this
site. Any set of data can be presented as RSS. You can then plug in
an RSS reader into that and follow the site activity. For example :
:raw-html:`<p><a class="reference"
href="../view?vid=rss&rql=Any+X%2CM+WHERE+X+modification_date+M+ORDERBY+M+DESC+LIMIT+30"><img
alt="rss" src="../data/rss.png"> latest changes</a></p>`