Currently we use the same getCampaign functions for the admin dashboard and the user-facing pages. This prevents us from adding the filter WHERE published = true as that would hide unpublished campaigns from the org admin dashboard.
Fix: Create new adminGetCampaign function(s) that don't filter on published, and add the published = true filter for the normal functions
Currently we use the same getCampaign functions for the admin dashboard and the user-facing pages. This prevents us from adding the filter
WHERE published = trueas that would hide unpublished campaigns from the org admin dashboard.Fix: Create new
adminGetCampaignfunction(s) that don't filter onpublished, and add thepublished = truefilter for the normal functions