Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Amir Khan 1199 posts 2567 karma points
    Feb 10, 2016 @ 14:14
    Amir Khan
    0

    TagQuery Retrieve Multiple Tags

    Hi, I'm trying to pull associated notes by multiple tags, but it seems like a list passed into Umbraco.TagQuery.GetContentByTag doesn't work.

    For example, this works great: var taggedList = Umbraco.TagQuery.GetContentByTag("restoration");

    While this doesn't: Umbraco.TagQuery.GetContentByTag("restoration,houses");

    and returns: System.Linq.Enumerable+WhereEnumerableIterator`1[Umbraco.Core.Models.IPublishedContent]

    Any ideas?

    -Amir

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies