• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lucyparsons / OpenOversight / 13635755818
89%

Build:
DEFAULT BRANCH: develop
Ran 03 Mar 2025 04:38PM UTC
Jobs 1
Files 100
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Mar 2025 04:35PM UTC coverage: 90.378%. Remained the same
13635755818

push

github

web-flow
Allow /find form to handle omitted age range. (#1162)

## Fixes issue
An issue was introduced in #1155, where the default values for the age
fields in the `FindOfficerForm` were removed. This leads to validation
errors when submitting the form without setting an age.
This can be verified here: https://staging.openoversight.com/find
(pressing "Generate Officer Gallery" will show the validation error)


![find-form-age-bug](https://github.com/user-attachments/assets/142dda48-b5b7-429e-8f21-35e67d1a1b96)

 

## Description of Changes

Adding the `Optional()` validator will prevent this issue.

## Tests and Linting
- [x] This branch is up-to-date with the `develop` branch.
- [ ] Ran `make create_db_diagram` command.
- [x] `pytest` passes on my local development environment.
- [x] `pre-commit` passes on my local development environment.

9017 of 9977 relevant lines covered (90.38%)

0.9 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
7
96.02
0.0% app/main/forms.py
Jobs
ID Job ID Ran Files Coverage
1 13635755818.1 03 Mar 2025 04:38PM UTC 100
90.38
GitHub Action Run
Source Files on build 13635755818
  • Tree
  • List 100
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13635755818
  • e2adc6b3 on github
  • Prev Build on develop (#13596505190)
  • Next Build on develop (#13658253012)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc