| ... |
... |
@@ -3,15 +3,10 @@ |
| 3 |
3 |
## space: $spaceDoc <br /> |
| 4 |
4 |
## children: $spaceDoc.getChildren() |
| 5 |
5 |
|
| 6 |
|
-#set($query = 'select doc, app.title, app.description, app.url, app.maintainers from Document doc, doc.object(ExternalApps.Code.ExternalAppsClass) as app') |
| 7 |
|
-#set ($apps = $services.query.xwql($query).addFilter('hidden').execute()) |
|
6 |
+#set($query = 'select doc from Document doc, doc.object(ExternalApps.Code.ExternalAppsClass) and doc.hidden = "0"') |
|
7 |
+$services.query.xwql($query).addFilter('hidden').execute() |
| 8 |
8 |
|
| 9 |
|
-#foreach($app in $apps) |
| 10 |
|
- $title = $app[0] |
| 11 |
11 |
|
| 12 |
|
- |
| 13 |
|
-#end |
| 14 |
|
- |
| 15 |
15 |
#* |
| 16 |
16 |
#foreach($child in $spaceDoc.getChildren()) |
| 17 |
17 |
#set($childDoc = $xwiki.getDocument($child)) |