Skip to content

Commit

Permalink
DNN-33961 | Search Results: Advanced Search Scopes - inaccurate behav…
Browse files Browse the repository at this point in the history
…ior (#3333)
  • Loading branch information
Ahmed Elibyary authored and donker committed Nov 22, 2019
1 parent 467b1d3 commit 2d51e2d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ protected IList<string> SearchContentSources
foreach (SearchContentSource contentSource in list)
{
if (configuredList == null ||
configuredList.Any(l => l.Contains(contentSource.LocalizedName)))
configuredList.Any(l => l.Equals(contentSource.LocalizedName)))
{
if (!_searchContentSources.Contains(contentSource.LocalizedName))
if (!_searchContentSources.Equals(contentSource.LocalizedName))
{
_searchContentSources.Add(contentSource.LocalizedName);
}
Expand Down

0 comments on commit 2d51e2d

Please sign in to comment.