[FIX] CSV export would get members instead of contacts
This commit is contained in:
parent
00b7c4b371
commit
d37958fc37
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ func ContactsExport(c *fiber.Ctx) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
params.PageSize = 0
|
params.PageSize = 0
|
||||||
params.PersonType = "members"
|
params.PersonType = "contacts"
|
||||||
|
|
||||||
var sections []models.Section
|
var sections []models.Section
|
||||||
db.Order("name collate nocase asc").Find(§ions, "contains_members = ? AND id IN ?", true, allowedSections)
|
db.Order("name collate nocase asc").Find(§ions, "contains_members = ? AND id IN ?", true, allowedSections)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue