From 074aecac8a00d2f8ecf0ea21317e644746bd01c1 Mon Sep 17 00:00:00 2001 From: Maurice Renck Date: Sat, 13 Nov 2021 14:29:16 +0100 Subject: [PATCH] fix: replace slug with id for nested pages #31 --- utils/base.php | 2 +- vendor/composer/installed.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/utils/base.php b/utils/base.php index 9de66b1..e5db56b 100644 --- a/utils/base.php +++ b/utils/base.php @@ -133,7 +133,7 @@ public function getPendingKomments(): array if (($komment['status'] === 'false' || $komment['status'] === false)) { $pendingKomments[] = [ 'id' => $komment['id'], - 'slug' => $item->slug(), + 'slug' => $item->id(), 'author' => $komment['author'], 'komment' => $komment['komment'], 'kommentType' => (isset($komment['kommenttype'])) ? $komment['kommenttype'] : 'komment', // backward compatiblity diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 49873e4..1e733f2 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -1,7 +1,7 @@ array( - 'pretty_version' => '1.3.0', - 'version' => '1.3.0.0', + 'pretty_version' => '1.3.3', + 'version' => '1.3.3.0', 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -29,8 +29,8 @@ 'dev_requirement' => false, ), 'mauricerenck/komments' => array( - 'pretty_version' => '1.3.0', - 'version' => '1.3.0.0', + 'pretty_version' => '1.3.3', + 'version' => '1.3.3.0', 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(),