From 61a75ee945c7f9bba34fe0270556963738b871e7 Mon Sep 17 00:00:00 2001 From: Dan Date: Sun, 28 Jun 2020 08:28:52 +0700 Subject: [PATCH] Fix draft listing --- system/htmly.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/htmly.php b/system/htmly.php index 764b7a7..0781afa 100644 --- a/system/htmly.php +++ b/system/htmly.php @@ -1088,6 +1088,7 @@ get('/admin/draft', function () { 'is_admin' => true, 'bodyclass' => 'admin-draft', 'breadcrumb' => '' . config('breadcrumb.home') . ' » Draft for: ' . $author->name, + 'pagination' => has_pagination($total, $perpage, $page) )); die; } @@ -1105,6 +1106,7 @@ get('/admin/draft', function () { 'is_admin' => true, 'bodyclass' => 'admin-draft', 'breadcrumb' => '' . config('breadcrumb.home') . ' » Draft for: ' . $author->name, + 'pagination' => has_pagination($total, $perpage, $page) )); } else { $login = site_url() . 'login';