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 1287 posts 2744 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

Please Sign in or register to post replies

Write your reply to:

Draft