@yuuvis/client-core 2.19.0 → 2.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2123,10 +2123,10 @@ class SearchService {
2123
2123
  * @param query SearchQuery or CMIS query statement
2124
2124
  * @param page The number of the page to go to
2125
2125
  */
2126
- getPage(query, page, pageSize = SearchService.DEFAULT_QUERY_SIZE) {
2126
+ getPage(query, page, pageSize = SearchService.DEFAULT_QUERY_SIZE, includePermissions = false) {
2127
2127
  const isCmis = typeof query === 'string';
2128
2128
  if (isCmis) {
2129
- return this.#executeCmisSearch(query, pageSize, (page - 1) * pageSize);
2129
+ return this.#executeCmisSearch(query, pageSize, (page - 1) * pageSize, includePermissions);
2130
2130
  }
2131
2131
  else {
2132
2132
  query.from = (page - 1) * (query.size || pageSize);