diff --git a/samples/react-content-query-webpart/README.md b/samples/react-content-query-webpart/README.md index 6b42a02ce..521a2d3bd 100644 --- a/samples/react-content-query-webpart/README.md +++ b/samples/react-content-query-webpart/README.md @@ -33,6 +33,7 @@ Version|Date|Comments 1.0.7|November 17, 2017|Reverted to drop 1.1.0 in order to keep compatibility for SP2016 on-premise 1.0.8|March 17, 2018|Updated to store the selected list using its ID instead of its title, so the webpart keeps working if the list title gets updated. 1.0.9|March 28, 2018|Added a switch to enable the WebPart to apply it's query recursively within folders, and fixed a bug where webs could sometimes not appear under the web url dropdown +1.0.10|April 5, 2018|Fixed a bug where the webs of the selected site collection were not being loaded correctly for particular tenants ## Disclaimer **THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** diff --git a/samples/react-content-query-webpart/config/package-solution.json b/samples/react-content-query-webpart/config/package-solution.json index b67c785b6..9ceea2ace 100644 --- a/samples/react-content-query-webpart/config/package-solution.json +++ b/samples/react-content-query-webpart/config/package-solution.json @@ -3,7 +3,7 @@ "solution": { "name": "React Content Query", "id": "00406271-0276-406f-9666-512623eb6709", - "version": "1.0.9.0" + "version": "1.0.10.0" }, "paths": { "zippedPackage": "solution/react-content-query-webpart.sppkg" diff --git a/samples/react-content-query-webpart/config/write-manifests.json b/samples/react-content-query-webpart/config/write-manifests.json index 6410f6050..2d9e52660 100644 --- a/samples/react-content-query-webpart/config/write-manifests.json +++ b/samples/react-content-query-webpart/config/write-manifests.json @@ -1,4 +1,4 @@ { "$schema": "https://dev.office.com/json-schemas/spfx-build/write-manifests.schema.json", - "cdnBasePath": "https://publiccdn.sharepointonline.com/spptechnologies.sharepoint.com/110700492eeea162ee5bad0f35b1f0061ded8bf436ce0199efe2a4d24109e1c0df1ec594/react-content-query-1.0.9" + "cdnBasePath": "https://publiccdn.sharepointonline.com/spptechnologies.sharepoint.com/110700492eeea162ee5bad0f35b1f0061ded8bf436ce0199efe2a4d24109e1c0df1ec594/react-content-query-1.0.10" } \ No newline at end of file diff --git a/samples/react-content-query-webpart/package-lock.json b/samples/react-content-query-webpart/package-lock.json index 817c94fd7..a256b6804 100644 --- a/samples/react-content-query-webpart/package-lock.json +++ b/samples/react-content-query-webpart/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-content-query-webpart", - "version": "1.0.8", + "version": "1.0.9", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/samples/react-content-query-webpart/package.json b/samples/react-content-query-webpart/package.json index e9a7750d4..9cc45e96d 100644 --- a/samples/react-content-query-webpart/package.json +++ b/samples/react-content-query-webpart/package.json @@ -1,6 +1,6 @@ { "name": "react-content-query-webpart", - "version": "1.0.9", + "version": "1.0.10", "private": true, "engines": { "node": ">=0.10.0" diff --git a/samples/react-content-query-webpart/sharepoint/solution/react-content-query-webpart.sppkg b/samples/react-content-query-webpart/sharepoint/solution/react-content-query-webpart.sppkg index 155dd21a1..66a7783cd 100644 Binary files a/samples/react-content-query-webpart/sharepoint/solution/react-content-query-webpart.sppkg and b/samples/react-content-query-webpart/sharepoint/solution/react-content-query-webpart.sppkg differ diff --git a/samples/react-content-query-webpart/src/common/services/SearchService.ts b/samples/react-content-query-webpart/src/common/services/SearchService.ts index 2a9bf6e60..3d533747a 100644 --- a/samples/react-content-query-webpart/src/common/services/SearchService.ts +++ b/samples/react-content-query-webpart/src/common/services/SearchService.ts @@ -119,7 +119,7 @@ export class SearchService { **************************************************************************************************/ public getWebsFromSite(siteUrl: string): Promise { return new Promise((resolve,reject) => { - let queryProperties = Text.format("querytext='SiteName:{0} AND (contentclass:STS_Site OR contentclass:STS_Web)'&selectproperties='Path'&trimduplicates=false&rowLimit=500&Properties='EnableDynamicGroups:true'", siteUrl); + let queryProperties = Text.format("querytext='SPSiteUrl:{0} AND (contentclass:STS_Site OR contentclass:STS_Web)'&selectproperties='Path'&trimduplicates=false&rowLimit=500&Properties='EnableDynamicGroups:true'", siteUrl); this.getSearchResultsRecursive(siteUrl, queryProperties) .then((results: any) => { diff --git a/samples/react-content-query-webpart/src/webparts/contentQuery/ContentQueryWebPart.ts b/samples/react-content-query-webpart/src/webparts/contentQuery/ContentQueryWebPart.ts index 062880679..0decce898 100644 --- a/samples/react-content-query-webpart/src/webparts/contentQuery/ContentQueryWebPart.ts +++ b/samples/react-content-query-webpart/src/webparts/contentQuery/ContentQueryWebPart.ts @@ -57,7 +57,7 @@ export default class ContentQueryWebPart extends BaseClientSideWebPart