diff --git a/Site5/Automation/Json-SearchPeoplePattern.aspx.cs b/Site5/Automation/Json-SearchPeoplePattern.aspx.cs index f9442018..dba214e5 100644 --- a/Site5/Automation/Json-SearchPeoplePattern.aspx.cs +++ b/Site5/Automation/Json-SearchPeoplePattern.aspx.cs @@ -22,6 +22,8 @@ namespace Swarmops.Frontend.Automation matches = new People(); } + // TODO: Add filter so the people must have active memberships of this org or any org below it (fixes #1) + if (matches.Count > 10) { matches.RemoveRange (10, matches.Count - 10); diff --git a/Site5/Pages/v5/Init/Default.aspx b/Site5/Pages/v5/Init/Default.aspx index 46620ebc..e1de1896 100644 --- a/Site5/Pages/v5/Init/Default.aspx +++ b/Site5/Pages/v5/Init/Default.aspx @@ -527,8 +527,8 @@