createdBy field on the quote document stores the booking staff member's employee ID, and createEmployeeStagesWithKeyword('createdBy') populates the resolved name in the response pipeline.createdBy field exists on inspection records; it is set at creation time in POST /worklist via res.locals.membership.employeeId || res.locals.membership._inspectorId || res.locals.membership._officeStaffId.GET /worklist/:id/data handler already accepts a wlCreatedBy query param but only applies it when worklist.type === 'quotes'. Inspections are excluded.WorklistFiltersBar.tsx renders the "Created By" Autocomplete only inside the showQuoteFilters branch. The office staff list (useServer<OfficeStaff[]>({ url: 'office-staff' })) is also only fetched for quotes.Backend — attik-backend/src/routes/worklist.ts
wlCreatedBy condition to apply when worklist.type === 'inspections', not just 'quotes'. The field path is createdBy on the inspection document — same as quotes.Frontend — attik-frontend/src/components/task-check/WorklistFiltersBar.tsx
officeStaff fetch (useServer<OfficeStaff[]>({ url: 'office-staff' })) currently conditions on worklistType === 'quotes'. Extend to also fetch when worklistType === 'inspections'.showQuoteFilters block. Add a parallel "Scheduled By" Autocomplete inside the showInspectionFilters block, wired to the same createdBy / wlCreatedBy param but with the label "Scheduled By."FilterValues interface, buildParams, hasActiveFilters, activeFilterCount, and clearAll already handle createdBy — verify they extend cleanly to the inspections path or adjust as needed.attik-frontend/src/components/task-check/WorklistFiltersBar.tsxattik-backend/src/routes/worklist.tsPlease authenticate to join the conversation.
Planned
Main App
26 days ago
Linear
Get notified by email when there are changes.
Planned
Main App
26 days ago
Linear
Get notified by email when there are changes.