Hajk icon indicating copy to clipboard operation
Hajk copied to clipboard

Infoklick - New Filters

Open maan002 opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

  1. One filter in infoklick that returns a specified number if the value is NaN or undef

Example: {NaN|naNToNum('-1000')} outputs: -1000

  1. 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'

  1. Enhance the filter 'lt' to check if the 'lessThan' or 'greaterThan' argument is undef (in the case of an empty string)

maan002 avatar Dec 13 '23 11:12 maan002