fix(recruitment): honor explicitly selected zero identifiers

Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
This commit is contained in:
Rudy Celekli
2026-10-13 10:06:46 -04:00
parent 4bce55aa8b
commit bcc7885db9
+3 -3
View File
@@ -352,11 +352,11 @@ class RecruitmentFunnelAnalyzer:
def filter_data(self, position_id=None, department=None, period=None):
filtered = self.data.copy()
if position_id:
if position_id is not None:
filtered = filtered[filtered['position_id'] == position_id]
if department:
if department is not None:
filtered = filtered[filtered['department'] == department]
if period:
if period is not None:
filtered = filtered[filtered['period'] == period]
return filtered
```