1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 15:46:44 +02:00

Fix #857 chapter's list in page searching

This commit is contained in:
Jimako
2015-02-06 10:37:24 +01:00
parent 6cd5513fd2
commit ff5c522a12

View File

@@ -23,7 +23,7 @@ class page_search extends e_search // include plugin-folder in the name.
{
$sql = e107::getDb();
$books = $sql->retrieve("SELECT chapter_id,chapter_sef,chapter_parent, chapter_name FROM #page_chapters ORDER BY chapter_parent, chapter_order ASC" , true);
$books = $sql->retrieve("SELECT chapter_id,chapter_sef,chapter_parent, chapter_name, chapter_visibility FROM #page_chapters ORDER BY chapter_parent, chapter_order ASC" , true);
foreach($books as $row)
{
@@ -174,4 +174,4 @@ class page_search extends e_search // include plugin-folder in the name.
}
?>
?>