mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed filter=node for doclist data webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10434 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -4,7 +4,7 @@ function getFilterParams(filter, parsedArgs)
|
|||||||
{
|
{
|
||||||
query: "+PATH:\"" + parsedArgs.parentNode.qnamePath + "/*\"",
|
query: "+PATH:\"" + parsedArgs.parentNode.qnamePath + "/*\"",
|
||||||
limitResults: null,
|
limitResults: null,
|
||||||
sortBy: "QNAME",
|
sortBy: "@{http://www.alfresco.org/model/content/1.0}name",
|
||||||
sortByAscending: true
|
sortByAscending: true
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ function getFilterParams(filter, parsedArgs)
|
|||||||
switch (String(filter))
|
switch (String(filter))
|
||||||
{
|
{
|
||||||
case "node":
|
case "node":
|
||||||
filterParams.query = "+PATH:\"" + parsedArgs.rootNode.qnamePath + "//*\"";
|
filterParams.query = "+ID:\"" + parsedArgs.rootNode.nodeRef + "\"";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "tag":
|
case "tag":
|
||||||
|
Reference in New Issue
Block a user