Découvrez les nouveautés de cette version : Fonctionnalités, améliorations et évolutions vous attendent ! 👉 Cliquez ici pour en savoir plus

Modifications pour le document KanbanBoardMacro

Modifié par Admin le 21/07/2025 - 09:07

Depuis la version 8.1
modifié par Admin
sur 21/07/2025 - 09:07
Commentaire de modification : Install extension [com.xwiki.task:application-task-ui/3.9.0]
À la version 5.1
modifié par Admin
sur 08/11/2024 - 07:56
Commentaire de modification : Install extension [com.xwiki.task:application-task-ui/3.6.0]

Résumé

Détails

XWiki.WikiMacroClass[1]
Code de la macro
... ... @@ -6,14 +6,7 @@
6 6  #set ($columnWidth = "$!{xcontext.macro.params.columnWidth}")
7 7  #set ($colors = "$!{xcontext.macro.params.colors}")
8 8  #if($user != '')
9 - #set ($users = $user.split(','))
10 - #foreach ($user in $users)
11 - #if ($xwql.length() > 0)
12 - #set ($xwql = "$xwql OR")
13 - #end
14 - #set ($xwql = "$xwql obj.assignee = '$escapetool.sql($user)'")
15 - #end
16 - #set ($xwql = "($xwql)")
9 + #set($xwql = "obj.assignee = '$escapetool.sql($user)'")
17 17  #end
18 18  #set($space = "$!{xcontext.macro.params.space}")
19 19  #if($space != '')
... ... @@ -24,18 +24,10 @@
24 24  #end
25 25  #set($project = "$!{xcontext.macro.params.project}")
26 26  #if($project != '')
27 - #set ($xwqlProjects = '')
28 - #set ($projects = $project.split(','))
29 - #foreach ($project in $projects)
30 - #if ($xwqlProjects.length() > 0)
31 - #set ($xwqlProjects = "$xwqlProjects OR")
32 - #end
33 - #set ($xwqlProjects = "$xwqlProjects obj.project = '$escapetool.sql($project)'")
34 - #end
35 35   #if ($xwql.length() > 0)
36 36   #set ($xwql = "$xwql and")
37 37   #end
38 - #set ($xwql = "$xwql ($xwqlProjects)")
23 + #set($xwql = "$xwql obj.project = '$escapetool.sql($project)'")
39 39  #end
40 40  #set ($columns = "$!{xcontext.macro.params.columns}")
41 41  {{awmkanban
XWiki.WikiMacroParameterClass[2]
Type du paramètre
... ... @@ -1,1 +1,1 @@
1 -com.xwiki.task.UserReferenceList
1 +org.xwiki.user.UserReference
XWiki.WikiMacroParameterClass[4]
Type du paramètre
... ... @@ -1,1 +1,1 @@
1 -java.util.List<com.xwiki.task.ProjectReference>
1 +com.xwiki.task.ProjectReference
XWiki.WikiMacroParameterClass[5]
Type du paramètre
... ... @@ -1,1 +1,0 @@
1 -java.util.List<com.xwiki.task.TaskStatus>