Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

making the list of talks sort by date, newest first, for listing talk…

…s by a particular speaker
  • Loading branch information...
commit d5845bfc73e514e918122a55ad9eafcd960ea82a 1 parent 20c29e5
@lornajane lornajane authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/api-v2/models/TalkMapper.php
View
3  src/api-v2/models/TalkMapper.php
@@ -164,7 +164,8 @@ public function getTalksBySpeaker($user_id, $resultsperpage, $start, $verbose =
. 'e.active = 1 and '
. '(e.pending = 0 or e.pending is NULL) and '
. '(e.private <> "y" or e.private is NULL) and '
- . 'ts.speaker_id = :user_id';
+ . 'ts.speaker_id = :user_id '
+ . 'order by t.date_given desc';
$sql .= $this->buildLimit($resultsperpage, $start);
$stmt = $this->_db->prepare($sql);
Please sign in to comment.
Something went wrong with that request. Please try again.