Skip to content

Commit

Permalink
All Matches
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincharles committed Apr 7, 2023
1 parent c2f29cc commit e6b5d50
Show file tree
Hide file tree
Showing 2 changed files with 334 additions and 284 deletions.
2 changes: 2 additions & 0 deletions public/api/searchPublicActivities.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
while($row = $result->fetch_assoc()){
$json = json_decode($row['json'], true);
array_push($matchingActivities,[
'type' => 'activity',
'doenetId' => $row['doenetId'],
'courseId' => $row['courseId'],
'version' => $json['version'],
Expand Down Expand Up @@ -99,6 +100,7 @@
while($row = $result->fetch_assoc()){
$json = json_decode($row['json'], true);
array_push($matchingUsers,[
'type' => 'author',
'courseId' => $row['courseId'],
'firstName' => $row['firstName'],
'lastName' => $row['lastName'],
Expand Down
Loading

0 comments on commit e6b5d50

Please sign in to comment.