This commit is contained in:
2018-09-21 18:27:36 +00:00
parent 282097d42d
commit abda2578f6

View File

@@ -189,12 +189,13 @@ namespace AyaNova.Biz
//Find the records that have all the words
//BUGBUG: IT'S FINDING WIDGET 203 WHICH ONLY HAS ONE OF THE WORDS, IS THIS DOING WHAT I THINK IT'S DOING?
var SearchMatches = q.GroupBy(x => new { x.ObjectType, x.ObjectId }).Select(x => new { ObjectId = x.Key.ObjectId, ObjectType = x.Key.ObjectType, ObjectCount = x.LongCount() });
//PUT THE RESULTS INTO MATCHING OBJECTS LIST
foreach (var SearchMatch in SearchMatches)
{
//Is this going to require checking the count??
//BUGBUG: Shouldn't this going to require checking the count??
MatchingObjects.Add(new AyaTypeId(SearchMatch.ObjectType, SearchMatch.ObjectId));
}