From d37958fc378bd2fd1edbe64f22f439d62e4366a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Bouzour=C3=A8ne?= Date: Mon, 28 Apr 2025 09:59:45 +0200 Subject: [PATCH] [FIX] CSV export would get members instead of contacts --- controllers/contacts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/contacts.go b/controllers/contacts.go index 8e59beb..a7d104c 100644 --- a/controllers/contacts.go +++ b/controllers/contacts.go @@ -153,7 +153,7 @@ func ContactsExport(c *fiber.Ctx) error { } params.PageSize = 0 - params.PersonType = "members" + params.PersonType = "contacts" var sections []models.Section db.Order("name collate nocase asc").Find(§ions, "contains_members = ? AND id IN ?", true, allowedSections)