visuddhinanda 4 лет назад
Родитель
Сommit
1923151978
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      public/app/studio/pc_get_book_index.php

+ 1 - 1
public/app/studio/pc_get_book_index.php

@@ -12,7 +12,7 @@ echo "<index>";
 
 //open database
 PDO_Connect(_FILE_DB_PALITEXT_);
-$query = "SELECT * FROM "._TABLE_PALI_TEXT_." where book = ? ";
+$query = "SELECT * FROM "._TABLE_PALI_TEXT_." where book = ? order by paragraph ASC";
 
 $Fetch = PDO_FetchAll($query,array($currBook));
 $iFetch = count($Fetch);