From 578932b818997102df9def2eb2ba8e5924ee1f56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mantas=20Marcinkevi=C4=8Dius?= Date: Mon, 12 Sep 2016 13:13:55 +0300 Subject: [PATCH] updated documentation --- Resources/doc/filter/choice.md | 1 + Resources/doc/filter/multi_choice.md | 1 + 2 files changed, 2 insertions(+) diff --git a/Resources/doc/filter/choice.md b/Resources/doc/filter/choice.md index 88c42698..9afa9b32 100644 --- a/Resources/doc/filter/choice.md +++ b/Resources/doc/filter/choice.md @@ -10,6 +10,7 @@ If you select one of the options, *choice filter* will return item list filtered | `request_field` | Request field used to view the selected page. (e.g. `www.page.com/?request_field=4`) | | `field` | Specifies the field in repository to apply this filter on. (e.g. `item_color`) | | `sort` | Sorts the choices based on your configuration. | +| `show_zero_choices` | Includes choices that have 0 documents in the choice array (defaults to `false`) | | `tags` | Array of filter specific tags that will be accessible at Twig view data. | Sorting configuration diff --git a/Resources/doc/filter/multi_choice.md b/Resources/doc/filter/multi_choice.md index e4e7daa8..0dedaf52 100644 --- a/Resources/doc/filter/multi_choice.md +++ b/Resources/doc/filter/multi_choice.md @@ -10,6 +10,7 @@ If you select one or more of the options, *multi choice filter* will return item |------------------------|--------------------------------------------------------------------------------------------------| | `request_field` | Request field used to view the selected page. (e.g. `www.page.com/?request_field=4`) | | `field` | Specifies the field in repository to apply this filter on. (e.g. `item_color`) | +| `show_zero_choices` | Includes choices that have 0 documents in the choice array (defaults to `false`) | | `sort` | Choices can also be sorted. You can read more about this [here](choice.md#sorting-configuration).| | `tags` | Array of filter specific tags that will be accessible at Twig view data. |