Report are duplicated

My report card subjects are being duplicateded

Comments

  • @rprice1978 Which component are you using in the report card template?
    Are you pulling data from the subject/course reports or from internal assessments or markbook?
  • subject/course is being duplicated
  • Hello, can anyone help with this?
  • Hi rprice1978, we're happy to help but need some more information, since reports are highly customizable. Can you share more information about what components you're using in the template, what the output looks like, and ideally share some screenshots (with any private data hidden).
  • I Have 3 templates created for each reporting term, Each template has the same information.

    (
    [1] => Array
    (
    [absent] => 0
    [late] => 0
    )

    [2] => Array
    (
    [absent] => 0
    [late] => 0
    )

    )

    [reportingCycle] => Array
    (
    [name] => End of Term 2
    [nameShort] => EOT2
    [sequenceNumber] => 2
    [cycleNumber] => 2
    [cycleTotal] => 2
    [dateStart] => 2021-01-04
    [dateEnd] => 2021-05-07
    [notes] =>
    [cycles] => Array
    (
    [1] => End of Term 1
    [2] => End of Term 2
    [3] => End of Term 3
    )

    )

    [courseCriteria] => Array
    (
    [00000044] => Array
    (
    [perStudent] => Array
    (
    [0] => Array
    (
    [gibbonCourseID] => 00000044
    [gibbonCourseClassID] => 00001014
    [groupBy] => perStudent
    [scopeName] => Report Card Subjects
    [criteriaName] => Term Grade
    [criteriaDescription] =>
    [value] => 98%
    [comment] =>
    [descriptor] => 98%
    [valueType] => Grade Scale
    [courseName] => Communication Task
    [courseNameShort] => CommTask
    [className] => 3A
    [classNameShort] => 3.A
    )

    [1] => Array
    (
    [gibbonCourseID] => 00000044
    [gibbonCourseClassID] => 00001014
    [groupBy] => perStudent
    [scopeName] => Report Card Subjects
    [criteriaName] => Term Grade
    [criteriaDescription] =>
    [value] => 98%
    [comment] =>
    [descriptor] => 98%
    [valueType] => Grade Scale
    [courseName] => Communication Task
    [courseNameShort] => CommTask
    [className] => 3A
    [classNameShort] => 3.A
    )

    [2] => Array
    (
    [gibbonCourseID] => 00000044
    [gibbonCourseClassID] => 00001014
    [groupBy] => perStudent
    [scopeName] => Report Card Subjects
    [criteriaName] => Subject Comment
    [criteriaDescription] =>
    [value] =>
    [comment] => 39, 1
    [descriptor] =>
    [valueType] => Comment
    [courseName] => Communication Task
    [courseNameShort] => CommTask
    [className] => 3A
    [classNameShort] => 3.A
    )

    [3] => Array
    (
    [gibbonCourseID] => 00000044
    [gibbonCourseClassID] => 00001014
    [groupBy] => perStudent
    [scopeName] => Report Card Subjects
    [criteriaName] => Subject Comment
    [criteriaDescription] =>
    [value] =>
    [comment] => 39, 1
    [descriptor] =>
    [valueType] => Comment
    [courseName] => Communication Task
    [courseNameShort] => CommTask
    [className] => 3A
    [classNameShort] => 3.A
    )

    )

    [gibbonCourseID] => 00000044
    [gibbonCourseClassID] => 00001014
    [courseName] => Communication Task
    [courseNameShort] => CommTask
    [className] => 3A
    [classNameShort] => 3.A
    [teachers] => Array
    (
  • any updates on this?
  • Hi rprice1978,

    Which version of Gibbon are you using? It looks like there was a fix for a similar data duplication in the course criteria script. Can you try replacing your script with the following version to see if that addresses your issue?

    https://github.com/GibbonEdu/core/blob/v22.0.00/modules/Reports/src/Sources/CourseCriteria.php
  • hi ver20 updated with the script and it works. thank you so much
    sandra
Sign In or Register to comment.