From 67b408e05687da92f095ed40880e08dc75125091 Mon Sep 17 00:00:00 2001 From: Adrian Gruntkowski Date: Mon, 30 Oct 2023 14:37:02 +0100 Subject: [PATCH] Add clarfying comment on virtual field in `Site` schema --- lib/plausible/site.ex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/plausible/site.ex b/lib/plausible/site.ex index 8f56686aa..fd650bb8d 100644 --- a/lib/plausible/site.ex +++ b/lib/plausible/site.ex @@ -49,6 +49,9 @@ defmodule Plausible.Site do # strictly necessary. field :from_cache?, :boolean, virtual: true, default: false + # Used in the context of paginated sites list to order in relation to + # user's membership state. Currently it can be either "invitation" + # or "site", where invitations are first. field :list_type, :string, virtual: true timestamps()