Update preview link
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 24 Oct 2016 15:38:23 +0000 (11:38 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 24 Oct 2016 15:38:23 +0000 (11:38 -0400)
Toolkit/Packages/Admin/ListPages.php

index c25e1b4..c9be6cb 100644 (file)
@@ -87,6 +87,8 @@ class Toolkit_Packages_Admin_ListPages
                     new Toolkit_Toolbox_PageGatewayPublish($this->_dbh),
                     $row['page_on']
                 );
+                $row['pageUrl'] = BASE_URL . 'index.php?catid='
+                    . $row['page_on'] . '&preview=1';
                 $row['deleteUrl']
                     = 'packages.php?Command=Delete&pageId=' .
                     $row['page_on'];