This commit is contained in:
@@ -189,12 +189,13 @@ namespace AyaNova.Biz
|
|||||||
|
|
||||||
|
|
||||||
//Find the records that have all the words
|
//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() });
|
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
|
//PUT THE RESULTS INTO MATCHING OBJECTS LIST
|
||||||
foreach (var SearchMatch in SearchMatches)
|
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));
|
MatchingObjects.Add(new AyaTypeId(SearchMatch.ObjectType, SearchMatch.ObjectId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user