]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - index.php
Fixed #13 - tri par date / tri par titre
[github/wallabag/wallabag.git] / index.php
index f62cf139af989ea8e8f0eb642a9c5033e8df79a7..c303f8e368a2c7176ae6587de410ae87446d7927 100755 (executable)
--- a/index.php
+++ b/index.php
 
 include dirname(__FILE__).'/inc/config.php';
 
-$entries = display_view();
+$entries = display_view($view);
 
 $tpl->assign('title', 'poche, a read it later open source system');
-$tpl->assign('view', $_SESSION['view']);
+$tpl->assign('view', $view);
 $tpl->assign('poche_url', get_poche_url());
 $tpl->assign('entries', $entries);
 $tpl->assign('load_all_js', 1);