+1-888-365-2779
Try Now
More in this section

Forums / Suggestions / Stop duplicate items

Stop duplicate items

2 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    30 May 2011
    Link to this post
    Oh here's what I expect with fluent

    Lets call my event "Steves Birthday", it's set to start Jan 1st, 2012...and that's the only event in my database...

    When I query with fluent

    App.WorkWith().Events().Get();

    I expect that "Steves Birthday" is returned once in whatever it's current state is.  I cannot fathom the reason why I would need to specify .Published (or "Publihed" ;) to filter those two results back down to one.  If the event is currently published what's the case in which it's desired result is to return me the not published version?

    (so in the above query, I get two results back)

    Is it a bug?...if not, it should be
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    30 May 2011
    Link to this post
    Hello Steve,

    Each content item has master, temp and draft status. If you don't different lifecycle states for an object you will get all states for this single object.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered