Skip to content

Commit

Permalink
Merge pull request #1414 from otseng/main
Browse files Browse the repository at this point in the history
Ver 35.27; Populate verse list if missing chapter in api server (#283)
  • Loading branch information
eliranwong authored Feb 12, 2024
2 parents 0b7e20b + 30a2bf1 commit 41010c7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion UniqueBibleAppVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
35.26
35.27
4 changes: 3 additions & 1 deletion db/BiblesSqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,9 @@ def readTextChapter(self, b, c):
self.cursor.execute(query, (b, c))
textChapter = self.cursor.fetchall()
if not textChapter:
return [(b, c, 1, "")]
textChapter = []
for v in range(1, BibleBooks.verses[int(b)][int(c)] + 1):
textChapter.append((b, c, v, ""))
# return a list of tuple
return textChapter

Expand Down
5 changes: 4 additions & 1 deletion latest_changes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Changes in 35.25:
Changes in 35.27:
* Populate verse list if missing chapter in api server

Changes in 35.26:
* added fuzzy completer in terminal mode

Changes in 35.25:
Expand Down
8 changes: 4 additions & 4 deletions patches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,6 @@
(35.05, "file", "plugins/chatGPT/execute python code.py")
(35.05, "file", "gui/Worker.py")
(35.06, "file", "plugins/menu/Bible Chat.py")
(35.09, "file", "db/BiblesSqlite.py")
(35.10, "file", "plugins/startup/highlightActiveVerse.py")
(35.12, "file", "plugins/terminal/generate reference table from copied text.py")
(35.12, "file", "plugins/terminal/generate reference table from latest content.py")
Expand Down Expand Up @@ -1394,6 +1393,7 @@
(35.26, "file", "util/terminal_mode_dialogs.py")
(35.26, "file", "util/terminal_system_command_prompt.py")
(35.26, "file", "util/TextEditorUtility.py")
(35.26, "file", "patches.txt")
(35.26, "file", "latest_changes.txt")
(35.26, "file", "UniqueBibleAppVersion.txt")
(35.27, "file", "db/BiblesSqlite.py")
(35.27, "file", "latest_changes.txt")
(35.27, "file", "patches.txt")
(35.27, "file", "UniqueBibleAppVersion.txt")

0 comments on commit 41010c7

Please sign in to comment.