I have a community with hundreds of ideas, but when I query with IsClosed: false I only get back 1 idea, and when I use IsClosed: true I only get back 15 (with might be correct). That only accounts for 16 ideas out of hundreds, so my question is, shouldn't these two queries return all of them?
This issue has a direct impact on the "Ideas - List" widget which defaults to showing Ideas "With any open status"... which for most of my Groups shows no ideas. Changing the option in the widget to "With any status" reveals all of the Ideas.
This is causing confusion for the users, and the question here is what causes an idea to not be either "closed" or "not-closed"?
For reference I created a simple HTTP automation that shows the issue...
This code sets IsClosed to true and returns 15 ideas (which is probably correct)
var apiList = telligentIdeas_v1_ideas.List({ QueryType: 'all', PageSize: 100, IsClosed: true }); var resp = context_v2_automationTrigger.Arguments.Response; resp.Body = "Fetched " + apiList.Count + " ideas."
This code sets IsClosed to false, and returns 1 ideas.
var apiList = telligentIdeas_v1_ideas.List({ QueryType: 'all', PageSize: 100, IsClosed: false }); var resp = context_v2_automationTrigger.Arguments.Response; resp.Body = "Fetched " + apiList.Count + " ideas."
This code doesn't set IsClosed, and returns 100 ideas.
var apiList = telligentIdeas_v1_ideas.List({ QueryType: 'all', PageSize: 100, }); var resp = context_v2_automationTrigger.Arguments.Response; resp.Body = "Fetched " + apiList.Count + " ideas."
Any insights would be helpful.
Thanks.