From 70666ddf0a0c65895057cda5fa7333ba61e5dc13 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Fri, 19 Feb 2021 15:41:17 +0100 Subject: [PATCH] add current to sessions collection --- app/config/collections.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/config/collections.php b/app/config/collections.php index d88bb849a..6abac7229 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -373,6 +373,15 @@ $collections = [ 'required' => true, 'array' => false, ], + [ + '$collection' => Database::SYSTEM_COLLECTION_RULES, + 'label' => 'Current', + 'key' => 'current', + 'type' => Database::SYSTEM_VAR_TYPE_BOOLEAN, + 'default' => false, + 'required' => true, + 'array' => false, + ], [ '$collection' => Database::SYSTEM_COLLECTION_RULES, 'label' => 'User Agent',