Change model lazy-assignment property functions to return "Unknown" #95
Labels
backend
Related to the backend/server-side
frontend
Related to the frontend/client-side
good first issue
Good for newcomers
hacktoberfest
Good hacktoberfest issues
Based on discussion in #91, we should change the other functions on the
Officer
model to return"Unknown"
directly rather than default to it in the template.Here are the functions used within the template:
OpenOversight/OpenOversight/app/templates/list_officer.html
Lines 179 to 193 in ba37bf7
The functions to modify would be
Officer::job_title
,Officer::unit_descrip
,Officer::race_label
, andOfficer::gender_label
.The text was updated successfully, but these errors were encountered: