Skip to content

Releases: chinmaybhatk/trackflow

v0.1

11 May 09:57

Choose a tag to compare

Fix Campaign dropdown on Tracked Link form excluding fresh campaigns

The form filter on the campaign field was set to allow only campaigns
with status in ["Active", "Draft"]. Two problems:

- "Draft" is not a valid Link Campaign status (the doctype offers
  Planned / Active / Completed / Cancelled).
- The default status for a new campaign is "Planned", so a freshly
  created campaign was always filtered out — it never appeared in the
  Tracked Link form dropdown.

Replace the filter with ["Planned", "Active"] so users can attach
links to campaigns that are still being prepared or currently running,
while finished/cancelled ones stay hidden.