Hi, KK!
If any other person can also help - please, do not hesitate & welcome.
Here we have custom queries with students and courses.
viewtopic.php?f=5&t=8581&p=16352&hilit=cms%3Aquery+query#p16352
Let's assume we now have students, courses and grades. Example task is to query all students, who take math and print them out by performance grade - from best student (10 points) to a not so good one (0 points). This should be easy - fetch students who take math and just feed cms:pages with a list of id's of students and then order by grade.
Well, now the real thing:
Let's assume, we have boys who take math and girls who take math. How to print out the list of boys and girls combined, according to their grade?
Basically, I have here 2 lists of ids from 2 templates. Now is to sort them by custom_field (grade) but I just feel running in a circle here.
Any hint is much appreciated! Thank you.
If any other person can also help - please, do not hesitate & welcome.
Here we have custom queries with students and courses.
viewtopic.php?f=5&t=8581&p=16352&hilit=cms%3Aquery+query#p16352
Let's assume we now have students, courses and grades. Example task is to query all students, who take math and print them out by performance grade - from best student (10 points) to a not so good one (0 points). This should be easy - fetch students who take math and just feed cms:pages with a list of id's of students and then order by grade.
Well, now the real thing:
Let's assume, we have boys who take math and girls who take math. How to print out the list of boys and girls combined, according to their grade?
Basically, I have here 2 lists of ids from 2 templates. Now is to sort them by custom_field (grade) but I just feel running in a circle here.
Any hint is much appreciated! Thank you.