mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +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 + "/*\"",
|
||||
limitResults: null,
|
||||
sortBy: "QNAME",
|
||||
sortBy: "@{http://www.alfresco.org/model/content/1.0}name",
|
||||
sortByAscending: true
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ function getFilterParams(filter, parsedArgs)
|
||||
switch (String(filter))
|
||||
{
|
||||
case "node":
|
||||
filterParams.query = "+PATH:\"" + parsedArgs.rootNode.qnamePath + "//*\"";
|
||||
filterParams.query = "+ID:\"" + parsedArgs.rootNode.nodeRef + "\"";
|
||||
break;
|
||||
|
||||
case "tag":
|
||||
|
Reference in New Issue
Block a user