{number-filter}
Plugin: Reporting Plugin, from version 1.0
This filter will ensure that the specified 'prefix:key' value is a number, and that it matches the required criteria.
Description
It must be used in a reporter macro.
Usage
Parameters
| Name |
Required |
Default |
Description |
| [default]/key | | | The key value to filter on. |
| minValue | | | If specified, the number must be greater than or equal to the specified value. |
| maxValue | | | If specified, the number must be less than or equal to the specified value. |
| decimal | | | If specified, setting it to 'true' will require that the number is a decimal type, and setting it to 'false' will require it is a whole number. By default either is accepted. |
| required | | false | If set to 'true', the key value must have a value of some sort - it may not be empty. |
See Also
Hi,
Is there a way to filter out some parts of certain report items? For example, display the first image attached to the reported page if there is one available, but display "No image available" otherwise?
Thanks a lot for your help,
Vincent
As suggested in my comment on report-image, I would use a report-block to achieve this, with a report-empty containing "No image available".