A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
search
AI OnAI Off
Hi!
I'm using attributes when creating blog-entries to separate blogs when listing them in "most recent-lists" etc. But when I've created a new entry I can't see it in my filtered list... Not until I change the parameter "pagesize" in the method "QueryHandler.GetQueryResult"!? Then it appears right away. Has anyone else noticed this beahavior? Workaround?
EntryQuery q = new EntryQuery();
IntegerCriterion blogTypeCriteria = new IntegerCriterion();
blogTypeCriteria.Value = ideaKey;
blogTypeCriteria.Operator = ComparisonOperator.Equals;
q["blog_type"] = blogTypeCriteria;
EntryCollection entries = QueryHandler.GetQueryResult<Entry, EntryCollection>(q, page, 100, out totalItems);
Best regards
Marcus