Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 06c1ecb

Browse files
Denys Vuikaeromano
authored andcommitted
[ADF-1394] fix favorites api (#267)
* fix favorites api * update changelog
1 parent cf11a50 commit 06c1ecb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
- [getProfilePictures returns null](https://github.com/Alfresco/alfresco-js-api/issues/262)
1515
- [Adding a new method to retrieve the Profile Picture Url](https://github.com/Alfresco/alfresco-js-api/265)
1616

17+
## Fix
18+
19+
- [Favorites Api not passing the "include" settings to server](https://issues.alfresco.com/jira/browse/ADF-1394)
20+
1721
<a name="1.7.0"></a>
1822
# [1.7.0](https://github.com/Alfresco/alfresco-js-api/releases/tag/1.7.0) (01-08-2017)
1923
## Fix

src/alfresco-core-rest-api/src/api/FavoritesApi.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323

2424
/**
25-
* Constructs a new FavoritesApi.
25+
* Constructs a new FavoritesApi.
2626
* @alias module:api/FavoritesApi
2727
* @class
2828
* @param {module:ApiClient} apiClient Optional API client implementation to use, default to {@link module:ApiClient#instance}
@@ -154,7 +154,8 @@
154154
'skipCount': opts['skipCount'],
155155
'maxItems': opts['maxItems'],
156156
'where': opts['where'],
157-
'fields': this.apiClient.buildCollectionParam(opts['fields'], 'csv')
157+
'fields': this.apiClient.buildCollectionParam(opts['fields'], 'csv'),
158+
'include': this.apiClient.buildCollectionParam(opts['include'], 'csv')
158159
};
159160
var headerParams = {
160161
};

0 commit comments

Comments
 (0)