Skip to content

Commit

Permalink
fixes #475
Browse files Browse the repository at this point in the history
  • Loading branch information
henriyli committed Mar 1, 2016
1 parent dd97511 commit b59f5c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions model/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@ public function searchConcepts($params)
}

$results = $sparql->queryConcepts($vocabs, $params->getAdditionalFields(), $params->getUnique(), $params);
if ($results && $params->getSearchLimit() !== 0) {
$results = array_slice($results, $params->getOffset(), $params->getSearchLimit());
}
$ret = array();

foreach ($results as $hit) {
Expand Down

0 comments on commit b59f5c4

Please sign in to comment.