Dynamic Filters
The filter criterion is displayed and selectable on top of the item list. A stylesheet can be used to filter planned items by information in their extra field. The template must define a where clause to search in the database and a text for the filter entry.
taskDetailFilterTemplate | ||||
---|---|---|---|---|
Type | Default Value | Example | Android | HTML 5 |
XML | Undefined | See below | + | - |
<xml version="1.0" encoding="UTF-8">
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform>
<xsl:output media-type="text">
<xsl:template match="/Data">
<xsl:text>LIKE '%floor="</xsl:text>
<xsl:value-of select="@floor"/>
<xsl:text>"%'|Floor </xsl:text>
<xsl:value-of select="@floor">
</xsl:template>
</xsl:stylesheet>