| ... |
... |
@@ -4,10 +4,10 @@ |
| 4 |
4 |
## children: $spaceDoc.getChildren() |
| 5 |
5 |
|
| 6 |
6 |
#set($query = 'select app.title, app.description, app.private, app.maintainers from Document doc, doc.object(ExternalApps.Code.ExternalAppsClass) as app') |
| 7 |
|
-#set($apps = $services.query.xwql($query).addFilter('hidden').execute()) |
|
7 |
+$services.query.xwql($query).addFilter('hidden').execute() |
| 8 |
8 |
|
| 9 |
|
-#foreach($application in $apps) |
| 10 |
|
- $app = $xwiki.getDocument($application) |
|
9 |
+#foreach($app in $query) |
|
10 |
+ $app |
| 11 |
11 |
#end |
| 12 |
12 |
|
| 13 |
13 |
#* |