Skip to content

Commit

Permalink
Create PageTags in correct vocabulary scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinesh Jain authored and bdukes committed Dec 3, 2019
1 parent dbeb24c commit e65a288
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ protected virtual void UpdateTabInfoFromPageSettings(TabInfo tab, PageSettings p
var vocabularyController = Util.GetVocabularyController();
var vocabulary = (vocabularyController.GetVocabularies()
.Cast<Vocabulary>()
.Where(v => v.Name == PageTagsVocabulary))
.Where(v => v.Name == PageTagsVocabulary && v.ScopeId == tab.PortalID))
.SingleOrDefault();

int vocabularyId;
Expand Down

0 comments on commit e65a288

Please sign in to comment.