I made a SQL query with the Query Builder module to check the information on the definition of my evaluations.
SELECT gibbonMarkbookColumn.gibbonMarkbookColumnID, gibbonMarkbookColumn.gibbonSchoolYearTermID, gibbonSchoolYearTerm.nameshort, gibbonMarkbookColumn.type, gibbonMarkbookColumn.name,
gibbonMarkbookColumn.viewableStudents, gibbonMarkbookColumn.viewableParents
FROM gibbonMarkbookColumn
LEFT OUTER JOIN gibbonSchoolYearTerm ON gibbonSchoolYearTerm.gibbonSchoolYearTermID = gibbonMarkbookColumn.gibbonSchoolYearTermID
WHERE gibbonMarkbookColumn.gibbonCourseClassID = ‘00000002’
ORDER BY gibbonMarkbookColumn.gibbonSchoolYearTermID, gibbonMarkbookColumn.gibbonMarkbookColumnID
I can see that there are indeed 2 evaluations per term in the gibbonMarkbookColumn table.
The filter by Term seems to be done based on dates and not based on the selected Term.
If the date field is between the start and end date of the Term OR if the completeDate field is between the start and end date of the Term, the evaluation is displayed in the Term.
I tried to confirm this theory by digging through Markbook’s PHP pages, but PHP is far from the programming languages I’m familiar with.
I changed the dates of my evaluations so that they were within my Terms and now the filter applies correctly.
Could one of the developers confirm to me that the interpretations are correct?
Should there be validation of dates when an evaluation is linked to a Term?
I also have a question about displaying the Markbook with the “All Terms” filter.
Why does the summary column for a Term only appear when the filter is on a single Term?
Hmmm, that is odd, as it works as expected on the systems I’ve tested. I’ll check out the query changes when I have a moment, In the meantime, can you share a screenshot of your term dates? I wonder if the dates overlap