London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi Mattias,
I'm sorry to say that it is not possible to sort on number of ratings, but below you can find the query without the sort.
ClubQuery q = new ClubQuery();
q.Logotype = new ImageCriterion();
q.Logotype.ID = new IntegerCriterion();
q.Logotype.ID.Value = 0;
q.Logotype.ID.Operator = ComparisonOperator.GreaterThan;
IntegerCriterion intAtt = new IntegerCriterion();
intAtt.Value = 1;
q["intAtt"] = intAtt;
ClubCollection clubs = QueryHandler.GetQueryResult(q);
Best regards,
Tom
How can I write a ClubQuery that only returns clubs that have a logotype, their integer attribute "intAtt"=1 and are sorted by their number of ratings?
Thanks in advance!