Ticket categories

CRUD ticket categories (slug/name/sort). Soft-archive if tickets exist; hard-delete only when unused.

Ticket categories

Categories for the create-ticket form and ticket list filters.

Where to find it

Admin → TicketsCategories (/admin/tickets/categories)

How it works

Add new category with Slug (2–64, lowercase hyphenated), Title/name (1–120), Sort (0–1_000_000). Seed defaults: Technical Issues, Sales, Billing.

Delete: if any tickets use the category → soft-archive (deletedAt); if none → hard delete. Restore clears the archive. Soft-deleted categories leave active pickers but stay visible here as Archived.

Contact form categories are a fixed technical|sales|billing enum - not this table (same names, different model).

Common problems

Delete did not remove the category

Tickets still reference it - it was archived, not hard-deleted. Tickets are not auto-reassigned.

Related