Try our conversational search powered by Generative AI!

Query counting deleted objects

Vote:
 

I run the following code to perform a search in forum topics, where I know that the given search world should not return anything as the only topic (no other item has been tagged with the same word) tagged with the search word has been deleted.

But even though the tagObjects collection does not contain any objects, the value of totalItems is still 1!

Is that a bug or is there a perticular reason why there is this difference?

 

  TaggableEntityCollection tagObjects = CurrentTag.GetTaggedItems(typeof(Community.Forum.Topic),
page, ucTopics.PageSize, out totalItems);

#33194
Oct 05, 2009 13:27
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.