pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
985 stars 665 forks source link

[BUG] Search bar for List gets enabled while trying to hide suitebar search using "Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Scope Web". Is there any way to hide search bar for list too. #3041

Open johnvittneyk opened 3 years ago

johnvittneyk commented 3 years ago

Reporting an Issue or Missing Feature

[BUG] Search bar for List gets enabled while trying to hide suitebar search using "Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Scope Web". Is there any way to hide search bar from the list view too.

Expected behavior

Search bar for List should not get enabled while trying to hide suitebar search using "Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Scope Web". image

Actual behavior

Search bar for List gets enabled while trying to hide suitebar search using "Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Scope Web". image

Steps to reproduce behavior

Run these commands Connect-PnPOnline -Url $SiteURL -UseWebLogin Set-PnPSearchSettings -SearchBoxInNavBar ModernOnly -Scope Web

Which version of the PnP-PowerShell Cmdlets are you using?

What is the version of the Cmdlet module you are running?

SharePointPnPPowerShellOnline 3.26.20

How did you install the PnP-PowerShell Cmdlets?