From cffea7877fa1a5e2c46852274ae878bf73284598 Mon Sep 17 00:00:00 2001
From: Tim Roes <mail@timroes.de>
Date: Thu, 12 Apr 2012 22:23:09 +0200
Subject: [PATCH] Added page title to search results in Remote API

---
 inc/RemoteAPICore.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/inc/RemoteAPICore.php b/inc/RemoteAPICore.php
index 546832100..80deb7377 100644
--- a/inc/RemoteAPICore.php
+++ b/inc/RemoteAPICore.php
@@ -302,6 +302,7 @@ class RemoteAPICore {
                 'mtime'   => filemtime($file),
                 'size'    => filesize($file),
                 'snippet' => $snippet,
+                'title' => p_get_first_heading($id)
             );
         }
         return $pages;
-- 
GitLab