Update jQuery from 1.12.4 to 3.7.1
[phorkie.git] / www / new.php
index 7a708917ef45912a6be54cb6e82e069bdbc90858..6ec746b421fc8a646ed13583671643acc8fd6885 100644 (file)
@@ -15,7 +15,7 @@ require_once 'www-header.php';
 
 $repopo = new Repository_Post();
 if ($repopo->process($_POST, $_SESSION)) {
-    redirect($repopo->repo->getLink('display'));
+    redirect($repopo->repo->getLink('display', null, true));
 }
 
 $phork = array(
@@ -28,7 +28,7 @@ render(
         'files'       => $phork,
         'description' => '',
         'htmlhelper'  => new HtmlHelper(),
-        'recents'     => $db->getSearch()->listAll(0, 5, 'crdate', 'desc'),
+        'recents'     => $db->getSearch()->listAll(0, 5, 'modate', 'desc'),
         'dh'          => new \Date_HumanDiff(),
     )
 );