diff --git a/content/developer/reference/backend/views.rst b/content/developer/reference/backend/views.rst index de82c91c6..7d02cca23 100644 --- a/content/developer/reference/backend/views.rst +++ b/content/developer/reference/backend/views.rst @@ -2340,11 +2340,14 @@ Possible children elements of the search view are: - + if both filters are selected, will select the records whose ``state`` is ``draft`` **and** ``delay`` is below 15. + .. note:: XML does not allow ``<`` to be used within XML elements, + an entity reference (``<``) should be used instead. + ``separator`` can be used to separates groups of filters in simple search views diff --git a/content/developer/tutorials/getting_started/07_basicviews.rst b/content/developer/tutorials/getting_started/07_basicviews.rst index bc8d3acc6..f919bb094 100644 --- a/content/developer/tutorials/getting_started/07_basicviews.rst +++ b/content/developer/tutorials/getting_started/07_basicviews.rst @@ -218,6 +218,16 @@ services *OR* have a unit price which is *NOT* between 1000 and 2000':: ('unit_price', '>=', 1000), ('unit_price', '<', 2000)] +.. note:: XML does not allow ``<`` and ``&`` to be used inside XML + elements. To avoid parsing errors, entity references should be used: + ``<`` for ``<`` and ``&`` for ``&``. Other entity references + (``>``, ``'`` & ``"``) are optional. + + .. example:: + .. code-block:: xml + + + .. exercise:: Add filter and Group By. The following should be added to the previously created search view: