# HG changeset patch # User Aurelien Campeas # Date 1317054322 -7200 # Node ID ee233d5365b4b5a244f7fbbae28520c3a7514b47 # Parent f91255a3b2c208ad2db5b954c81c6831167bf3b4 [web/facet] fix example selector in docstring diff -r f91255a3b2c2 -r ee233d5365b4 web/facet.py --- a/web/facet.py Mon Sep 26 17:48:48 2011 +0200 +++ b/web/facet.py Mon Sep 26 18:25:22 2011 +0200 @@ -991,7 +991,7 @@ class AgencyFacet(RQLPathFacet): __regid__ = 'agency' # this facet should only be selected when visualizing offices - __select__ = RelationFacet.__select__ & is_instance('Office') + __select__ = is_instance('Office') # this facet is a filter on the 'Agency' entities linked to the office # through the 'proposed_by' relation, where the office is the subject # of the relation @@ -1002,7 +1002,7 @@ class PostalCodeFacet(RQLPathFacet): __regid__ = 'postalcode' # this facet should only be selected when visualizing offices - __select__ = RelationAttributeFacet.__select__ & is_instance('Office') + __select__ = is_instance('Office') # this facet is a filter on the PostalAddress entities linked to the # office through the 'has_address' relation, where the office is the # subject of the relation