conditions.txt 641 Bytes
Newer Older
1
.. include:: hyperlinks.txt
2 3 4

The fitler conditions is defined in the ``General`` tab.

LE GAC Renaud's avatar
LE GAC Renaud committed
5 6 7
The ``Conditions`` are used to select a sub-sample of the history records. It
is based on the smart_query_ available in the Web2py_ framework. The query
is written in the natural language, but it is limited to field of the
8
history table. Foreign tables  fields, virtual fields or keys of the
9 10
``history.data`` dictionary can not be used.

LE GAC Renaud's avatar
LE GAC Renaud committed
11
The ``changelog`` event introduced earlier has the ``id`` equal to 7. To
12
select history related changelog events, enter:
LE GAC Renaud's avatar
LE GAC Renaud committed
13

14
    .. code::
LE GAC Renaud's avatar
LE GAC Renaud committed
15

16
        history.id_events = 7
LE GAC Renaud's avatar
LE GAC Renaud committed
17

18
Possible operators are given :ref:`Appendix E`.