[facets] make sure has_text facet data is posted correctly (closes #1857405)
Posted data was associated to facet id (e.g. has-text-123098dasdf898adssdd)
rather than facet name (i.e. has-text).
/**
* functions specific to cubicweb on google appengine
*
* :organization: Logilab
* :copyright: 2008-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
* :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
*/
/**
* .. function:: rql_for_eid(eid)
*
* overrides rql_for_eid function from htmlhelpers.hs
*/
function rql_for_eid(eid) {
return 'Any X WHERE X eid "' + eid + '"';
}