1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Fixed #13 - tri par date / tri par titre

This commit is contained in:
nicosomb 2013-04-16 12:58:03 +02:00
parent 139769aa24
commit 9fee2e7266
9 changed files with 42 additions and 13 deletions

View file

@ -182,7 +182,7 @@ function action_to_do($action, $id, $url, $token)
/**
* Détermine quels liens afficher : home, fav ou archives
*/
function display_view()
function display_view($view)
{
global $db;
@ -205,7 +205,7 @@ function display_view()
break;
}
switch ($_SESSION['view'])
switch ($view)
{
case 'archive':
$sql = "SELECT * FROM entries WHERE is_read=? " . $order;