summaryrefslogtreecommitdiff
path: root/lib/study
diff options
context:
space:
mode:
authorNicolas BERNSTEIN <alexis211@gmail.com>2011-11-20 16:05:25 +0100
committerNicolas BERNSTEIN <alexis211@gmail.com>2011-11-20 16:05:25 +0100
commitfbe5805e1b1e7e92015a9f6f039d7b9e0689c41f (patch)
tree66f34319a169ad4597e270cc9120fa56e7eff433 /lib/study
parent5d416c64fbf7ec7890f85b4e52d98dddb9746acb (diff)
downloadBits-fbe5805e1b1e7e92015a9f6f039d7b9e0689c41f.tar.gz
Bits-fbe5805e1b1e7e92015a9f6f039d7b9e0689c41f.zip
Added a sorting possibility.
Diffstat (limited to 'lib/study')
-rw-r--r--lib/study/list.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/study/list.php b/lib/study/list.php
index 2f0031f..928e253 100644
--- a/lib/study/list.php
+++ b/lib/study/list.php
@@ -13,7 +13,8 @@ assert_error($study && $study['learn_user'] == $user['id'], "You are not at the
$filters = array(
"order" => array(
"name" => "name",
- "lr_score" => "last score"
+ "lr_score" => "last score",
+ "lr_date" => "last reviewed"
),
"way" => $ord_ways,
);