Изменения документа Documents Macro
Редактировал(а) Андрей Ганьков 2025/08/09 17:45
От версии 10.1
отредактировано Андрей Ганьков
на 2025/08/09 17:45
на 2025/08/09 17:45
Изменить комментарий:
Install extension [org.xwiki.platform:xwiki-platform-index-ui/17.6.0]
К версии 8.1
отредактировано Давид Гавриков
на 2025/07/06 04:15
на 2025/07/06 04:15
Изменить комментарий:
Migrated property [featureMandatory] from class [XWiki.WikiMacroParameterClass]
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
-
Объекты (1 изменено, 0 добавлено, 1 удалено)
Подробности
- Свойства страницы
-
- Автор документа
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki.gav 1 +xwiki:XWiki.gavrikof
- XWiki.WikiMacroClass[0]
-
- Код
-
... ... @@ -22,7 +22,7 @@ 22 22 #set ($propertyDescriptors = []) 23 23 #if ("$!services.like" != "") 24 24 ## We can't make it sortable or filterable right now since it's not stored in DB. 25 - #set ($discard = $propertyDescriptors.add({ 'id': '_likes', 'sortable': false, 'filterable': false ,'editable': false}))25 + #set ($discard = $propertyDescriptors.add({ 'id': '_likes', 'sortable': false, 'filterable': false })) 26 26 #set ($discard = $properties.add('_likes')) 27 27 #end 28 28 #if(!$isGuest && $xcontext.macro.params.actions == "true") ... ... @@ -47,16 +47,11 @@ 47 47 #set ($limit = $services.rendering.escape($xcontext.macro.params.count, 'xwiki/2.1')) 48 48 #end 49 49 #set ($propertiesStr = $services.rendering.escape($stringtool.join($properties, ','), 'xwiki/2.1')) 50 -#set ($filtersDeclared = $xcontext.macro.params.parameterNames.contains('filters')) 51 -#if ($filtersDeclared) 52 - #set ($filters = $services.rendering.escape($xcontext.macro.params.filters, 'xwiki/2.1')) 53 -#end 54 54 {{liveData 55 55 id="$livedataId" 56 56 properties="$propertiesStr" 57 57 source="liveTable" 58 58 sourceParameters="$escapetool.url($sourceParameters)" 59 - #if ($filtersDeclared) filters="$filters"#end 60 60 #if ($description != '')description="$description"#end 61 61 #if ($properties.contains('doc.location'))sort="doc.location"#end 62 62 #if ($limit != '')limit="$limit"#end
- XWiki.WikiMacroParameterClass[8]
-
- Parameter advanced
-
... ... @@ -1,1 +1,0 @@ 1 -Да - Имя параметра
-
... ... @@ -1,1 +1,0 @@ 1 -filters - Описание параметра
-
... ... @@ -1,1 +1,0 @@ 1 -Provide a default filter to apply in the documents Live Data - Тип параметра
-
... ... @@ -1,1 +1,0 @@ 1 -Unknown - Обязательность параметра
-
... ... @@ -1,1 +1,0 @@ 1 -Нет