mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ETHREEOH-4 - Error message appears when trying to copy document from DocLib to Wiki using Repository
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -30,8 +30,11 @@ function getWikiPages(siteId)
|
||||
}
|
||||
|
||||
var query = "+PATH:\"" + wiki.qnamePath + "//*\" ";
|
||||
query += " +@\\{http\\://www.alfresco.org/model/content/1.0\\}content.mimetype:application/octet-stream";
|
||||
query += " -TYPE:\"{http://www.alfresco.org/model/content/1.0}thumbnail\"";
|
||||
query += " -TYPE:\"{http://www.alfresco.org/model/forum/1.0}post\"";
|
||||
|
||||
if (filter && filter != "all")
|
||||
if (filter)
|
||||
{
|
||||
query += getFilterQuery(filter);
|
||||
}
|
||||
@@ -70,6 +73,7 @@ function getFilterQuery(filter)
|
||||
case "all":
|
||||
// Nothing to do
|
||||
break;
|
||||
|
||||
case "recentlyModified":
|
||||
var usingModified = true;
|
||||
// fall through...
|
||||
@@ -94,7 +98,6 @@ function getFilterQuery(filter)
|
||||
var fromQuery = date.getFullYear() + "\\-" + (date.getMonth() + 1) + "\\-" + date.getDate();
|
||||
|
||||
filterQuery += "+@cm\\:" + dateField + ":[" + fromQuery + "T00\\:00\\:00 TO " + toQuery + "T23\\:59\\:59] ";
|
||||
filterQuery += "-ASPECT:\"{http://www.alfresco.org/model/content/1.0}workingcopy\"";
|
||||
break;
|
||||
|
||||
case "myPages":
|
||||
|
Reference in New Issue
Block a user