Skip to content

Commit

Permalink
Merge pull request #3005 from gautamdsheth/bugfix/2999
Browse files Browse the repository at this point in the history
Fix #2999 - issue with site relative url in Get-PnPList
  • Loading branch information
gautamdsheth authored Apr 11, 2023
2 parents 3f7f399 + b1d52d4 commit 0f5daa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Added


- Added `DisableDocumentLibraryDefaultLabeling`, `DisableListSync`, `IsEnableAppAuthPopUpEnabled`, `ExpireVersionsAfterDays`, `MajorVersionLimit` and `EnableAutoExpirationVersionTrim`, `OneDriveLoopSharingCapability`, `OneDriveLoopDefaultSharingLinkScope`, `OneDriveLoopDefaultSharingLinkRole`, `CoreLoopSharingCapability`, `CoreLoopDefaultSharingLinkScope`, `CoreLoopDefaultSharingLinkRole` , `DisableVivaConnectionsAnalytics` , `CoreDefaultLinkToExistingAccess`, `HideSyncButtonOnTeamSite` , `CoreBlockGuestsAsSiteAdmin`, `IsWBFluidEnabled`, `IsCollabMeetingNotesFluidEnabled`, `AllowAnonymousMeetingParticipantsToAccessWhiteboards`, `IBImplicitGroupBased`, `ShowOpenInDesktopOptionForSyncedFiles` and `ShowPeoplePickerGroupSuggestionsForIB` parameters to the `Set-PnPTenant` cmdlet. [#2979](https://github.com/pnp/powershell/pull/2979)
- Added `-OutFile` to `Invoke-PnPGraphMethod` which allows for the response to be written to a file [#2971](https://github.com/pnp/powershell/pull/2971)
- Added `-OutStream` to `Invoke-PnPGraphMethod` which allows for the response to be written to a memory stream [#2976](https://github.com/pnp/powershell/pull/2976)

### Fixed

- Fixed issue with `Grant-PnPAzureADAppSitePermission` cmdlet where users are not able to set selected site in the `Sites.Selected` permission.
- Fixed issue with `Grant-PnPAzureADAppSitePermission` cmdlet where users are not able to set selected site in the `Sites.Selected` permission. [#2983](https://github.com/pnp/powershell/pull/2983)
- Fixed issue with `Get-PnPList` cmdlet not working with site-relative URL as identity. [#3005](https://github.com/pnp/powershell/pull/3005)

### Contributors

Expand Down
4 changes: 2 additions & 2 deletions src/Commands/Base/PipeBinds/ListPipeBind.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ internal List GetList(Web web, params System.Linq.Expressions.Expression<Func<Li
}
else if (!string.IsNullOrEmpty(_name))
{
list = web.GetListByTitle(_name);
list = web.GetListByUrl(_name);
if (list == null)
{
list = web.GetListByUrl(_name);
list = web.GetListByTitle(_name);
}
}
if (list != null)
Expand Down

0 comments on commit 0f5daa9

Please sign in to comment.