web/facet.py
changeset 9492 c7fc56eecd1a
parent 9373 d5d9acadb975
child 9562 0509880fec01
child 9924 25fc84990ddc
equal deleted inserted replaced
9484:31f070752462 9492:c7fc56eecd1a
   878     behaviour: if two offices have the same postal code, they've however two
   878     behaviour: if two offices have the same postal code, they've however two
   879     different addresses.  So you'll see in the facet the same postal code twice,
   879     different addresses.  So you'll see in the facet the same postal code twice,
   880     though linked to a different address entity. There is a great chance your
   880     though linked to a different address entity. There is a great chance your
   881     users won't understand that...
   881     users won't understand that...
   882 
   882 
   883     That's where this class come in ! It's used to said that you want to filter
   883     That's where this class come in! It's used to said that you want to filter
   884     according to the *attribute value* of a relatied entity, not to the entity
   884     according to the *attribute value* of a relatied entity, not to the entity
   885     itself. Now here is the source code for the facet:
   885     itself. Now here is the source code for the facet:
   886 
   886 
   887     .. sourcecode:: python
   887     .. sourcecode:: python
   888 
   888