Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 'associatedsites' and 'hubsiteId' parameters to SitePicker to have option to show only sites associated with the hub. + infinite loop prevention when fetching sites #1357

Merged
merged 2 commits into from
Nov 15, 2022

Conversation

kadu-jr
Copy link
Contributor

@kadu-jr kadu-jr commented Nov 14, 2022

Q A
Bug fix? [ ]
New feature? [ X]
New sample? [ ]
Related issues? mentioned in #1346

What's in this Pull Request?

Addition of 'associatedsites' option to the 'mode' parameter to search for all sites within a hub, along with a 'hubsiteId' parameter if the user wants to specify the hub look for - otherwise, the current site's hub will be used.

I also added a potential bugfix to prevent an infinite loop when fetching the sites, as this problem was occurring to me.

@joelfmrodrigues joelfmrodrigues merged commit 56c8c01 into pnp:dev Nov 15, 2022
@joelfmrodrigues
Copy link
Collaborator

@kadu-jr many thanks! This has now been merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants