Skip to content

Commit 37270c6

Browse files
committed
Fixes typeahead.
1 parent 0517a74 commit 37270c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/ReportingController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function statements($lrs_id, $report_id) {
110110
public function typeahead($lrs, $segment, $query){
111111
$options = self::$segments[$segment];
112112
return Response::json($this->report->setQuery(
113-
$lrs,
113+
new \MongoId($lrs),
114114
$query,
115115
self::statementKey.$options['return'],
116116
self::statementKey.$options['query']

0 commit comments

Comments
 (0)