Skip to content

Commit

Permalink
edit-content: get 7k by default #28843
Browse files Browse the repository at this point in the history
  • Loading branch information
nicobytes committed Jun 11, 2024
1 parent 4de88d8 commit 3396f47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class DotSiteService {

private siteURL(filter: string, perPage?: number): string {
const paramPerPage = perPage || this.defaultPerpage;
const searchParam = `filter=${filter}&perPage=${paramPerPage}&${this.getQueryParams()}`;
const searchParam = `filter=${filter}&per_page=${paramPerPage}&${this.getQueryParams()}`;

return `${this.BASE_SITE_URL}?${searchParam}`;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ export class DotEditContentService {
* @return {*} {Observable<TreeNodeItem[]>}
* @memberof DotEditContentService
*/
getSitesTreePath(): Observable<TreeNodeItem[]> {
return this.#siteService.getSites().pipe(
getSitesTreePath(filter = '*', perPage = 7000): Observable<TreeNodeItem[]> {
return this.#siteService.getSites(filter, perPage).pipe(
map((sites) => {
return sites.map((site) => ({
key: site.hostname,
Expand Down

0 comments on commit 3396f47

Please sign in to comment.