You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you search on nuget.org using the tfms=net parameter, the .NET framework checkbox is shown as selected. This should not be selected.
The .NET framework generation checkbox should only be selected if frameworks=net is in the URL. tfms=net refers to the version-less '.NET Framework' (not '.NET') TFM, not a framework generation.
Impact
It bothers me. A fix would be nice
Describe the bug
When you search on nuget.org using the
tfms=net
parameter, the.NET
framework checkbox is shown as selected. This should not be selected.The
.NET
framework generation checkbox should only be selected ifframeworks=net
is in the URL.tfms=net
refers to the version-less '.NET Framework' (not '.NET') TFM, not a framework generation.Repro Steps
.NET
framework generation checkbox is selected in the filter panel, even though there is noframeworks=net
parameter.Expected Behavior
None of the checkboxes should be selected in this case.
tfms=net
refers to the version-less .NET Framework TFM (shortname = 'net'), not the .NET 5+ framework generation. The js code in https://github.com/NuGet/NuGetGallery/blob/main/src/NuGetGallery/Scripts/gallery/page-list-packages.js#L177 does not distinguish betweenframeworks=
andtfms=
parameters properly, and needs to be fixed.Screenshots
No response
Additional Context and logs
No response
The text was updated successfully, but these errors were encountered: