Hajk
Hajk copied to clipboard
Infoklick - New Filters
Is your feature request related to a problem? Please describe.
- One filter in infoklick that returns a specified number if the value is NaN or undef
Example: {NaN|naNToNum('-1000')} outputs: -1000
- One filter that check if the value is greater than a specified number, see also filter 'lt'
Example: {10.3|gt('9.2', 'GreaterThan', 'LessThan')} outputs: 'GreaterThan'
- Enhance the filter 'lt' to check if the 'lessThan' or 'greaterThan' argument is undef (in the case of an empty string)