From 5aa781242e42c95c6f2e04a30510d853a89fa944 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Wed, 29 Jan 2020 03:33:22 +0100 Subject: new feature : authors column --- app/class/Page.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/class/Page.php') diff --git a/app/class/Page.php b/app/class/Page.php index 82e61c1..7475b6b 100644 --- a/app/class/Page.php +++ b/app/class/Page.php @@ -399,6 +399,8 @@ class Page extends Dbitem return implode(', ', $this->authors); } elseif ($type == 'array') { return $this->authors; + } elseif ($type == 'sort') { + return count($this->authors); } } -- cgit v1.2.3