refactor(overview): use English identifier as_of_date for point-in-time filter

This commit is contained in:
Simon 2026-07-10 16:27:16 +02:00
parent ce877463d6
commit 0acd12360f
11 changed files with 113 additions and 112 deletions

View file

@ -50,7 +50,7 @@ defmodule Mv.Constants do
@suspended_param "suspended"
@stichtag_param "stichtag"
@as_of_date_param "as_of_date"
@max_boolean_filters 50
@ -240,16 +240,16 @@ defmodule Mv.Constants do
def suspended_param, do: @suspended_param
@doc """
Returns the URL parameter name for the point-in-time membership ("Stichtag")
Returns the URL parameter name for the point-in-time "active on X" membership
filter: keeps members who were active on the given ISO-8601 date X, i.e.
`join_date <= X and (exit_date is nil or exit_date > X)`.
## Examples
iex> Mv.Constants.stichtag_param()
"stichtag"
iex> Mv.Constants.as_of_date_param()
"as_of_date"
"""
def stichtag_param, do: @stichtag_param
def as_of_date_param, do: @as_of_date_param
@doc """
Returns the maximum number of boolean custom field filters allowed per request.