nexus/server/src/services
Claude f6f5fee200 fix: wire parentId query filter into issues list endpoint
The parentId parameter on GET /api/companies/:companyId/issues was
silently ignored — the filter was never extracted from the query string,
never passed to the service layer, and the IssueFilters type did not
include it. All other filters (status, assigneeAgentId, projectId, etc.)
worked correctly.

This caused subtask lookups to return every issue in the company instead
of only children of the specified parent.

Changes:
- Add parentId to IssueFilters interface
- Add eq(issues.parentId, filters.parentId) condition in list()
- Extract parentId from req.query in the route handler

Fixes: LAS-101
2026-03-10 15:54:31 +02:00
..
access.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
activity-log.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
activity.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
agent-permissions.ts Implement agent hiring, approval workflows, config revisions, LLM reflection, and sidebar badges 2026-02-19 13:02:41 -06:00
agents.ts fix(server): auto-deduplicate agent names on creation instead of rejecting 2026-03-07 16:08:53 -08:00
approvals.ts feat(openclaw): add adapter hire-approved hooks 2026-03-06 08:17:42 -06:00
assets.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
companies.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
company-portability.ts Remove legacy OpenClaw adapter and keep gateway-only flow 2026-03-07 18:50:25 -06:00
costs.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
dashboard.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
goals.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
heartbeat.ts fix(server): redact secret-sourced env vars in run logs by provenance 2026-03-07 16:08:49 -08:00
hire-hook.ts feat(openclaw): add adapter hire-approved hooks 2026-03-06 08:17:42 -06:00
index.ts Auto-deduplicate agent shortname on join request approval 2026-03-06 13:54:58 -06:00
issue-approvals.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
issues.ts fix: wire parentId query filter into issues list endpoint 2026-03-10 15:54:31 +02:00
live-events.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
projects.ts feat: deduplicate project shortnames on create and update 2026-03-07 08:59:34 -06:00
run-log-store.ts fix(server): use home-based path for run logs instead of cwd 2026-03-07 16:18:14 -08:00
secrets.ts fix(secrets): add secretKeys tracking to resolveEnvBindings for consistent redaction 2026-03-07 17:06:10 -08:00
sidebar-badges.ts Add touched/unread inbox issue semantics 2026-03-06 08:21:03 -06:00