From 914dd9453c09e920a49ae46a263ccf6586196ad3 Mon Sep 17 00:00:00 2001 From: Cornelius Date: Sat, 30 Dec 2023 12:20:20 +0100 Subject: [PATCH] fix Wrong config keys in discoverPageSiblings #675 --- lib/Pico.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Pico.php b/lib/Pico.php index 653380f3..f820065c 100644 --- a/lib/Pico.php +++ b/lib/Pico.php @@ -1940,7 +1940,7 @@ protected function sortPages(): void */ protected function discoverPageSiblings(): void { - if (($this->getConfig('order_by') === 'date') && ($this->getConfig('order') === 'desc')) { + if (($this->getConfig('pages_order_by') === 'date') && ($this->getConfig('pages_order') === 'desc')) { $precedingPageKey = 'next_page'; $succeedingPageKey = 'previous_page'; } else {