Fix all remaining checkbox issues

Issue #1065 resolved
Ghislain Hachey created an issue

Several checkboxes do not save the data of true/false. Simply add the below.

Comments (2)

  1. Ghislain Hachey reporter

    @Brian Lewis I’ve fixed the remaining ones that were not working correctly. The only one I have a small doubt is for students. In the DB the false value is null rather than 0 as shown below.

    So my first thought was to put false is null as shown below thinking this would have the least impact on the data and everything that depends on it.

    And looking at what this could affect using common.findText I get the following. So I am inclined to stick with my first thought of using ng-false-value=null for student date of birth estimate.

    This decision seems to be further supported by looking at the census loading procedures which treats no as null (and not 0). So it would make less sense to have ng-false-value=0 when it will all be in fact updated back to null.

    As for teacher date of birth estimate the database seem to contain 0 as false value so I put ng-false-value=0. Same with School Dormant.

  2. Log in to comment