Skip to content

Commit

Permalink
Remote search is aware of useheading option
Browse files Browse the repository at this point in the history
  • Loading branch information
timroes committed Apr 12, 2012
1 parent cffea78 commit 5529fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/RemoteAPICore.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ function search($query){
'mtime' => filemtime($file),
'size' => filesize($file),
'snippet' => $snippet,
'title' => p_get_first_heading($id)
'title' => useHeading('navigation') ? p_get_first_heading($id) : $id
);
}
return $pages;
Expand Down

0 comments on commit 5529fa3

Please sign in to comment.