diff options
| author | Uttam Kini <ukini@vmware.com> | 2019-12-02 20:53:42 +0530 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-12-04 14:36:43 +0100 |
| commit | 84936ac2c543007179d8fb460df1d0e6847cac61 (patch) | |
| tree | 2d593f34594e1543d63eea7ea419509688c54300 /docs | |
| parent | cc64b1d8f375d47a31d20fc9b6b99a010a1cf4d6 (diff) | |
[3.0.x] Fixed #31024 -- Clarified {% firstof %} tag's handling of arguments.
Backport of d646e3d14fa04b5081476b84f4500c8651c167c2 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index daaff8a393..896ea8890c 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -261,8 +261,9 @@ Sample usage:: ``firstof`` ----------- -Outputs the first argument variable that is not ``False``. Outputs nothing if -all the passed variables are ``False``. +Outputs the first argument variable that is not "false" (i.e. exists, is not +empty, is not a false boolean value, and is not a zero numeric value). Outputs +nothing if all the passed variables are "false". Sample usage:: |
