about summary refs log tree commit diff
path: root/laravel/app
diff options
context:
space:
mode:
Diffstat (limited to 'laravel/app')
-rw-r--r--laravel/app/Song.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/laravel/app/Song.php b/laravel/app/Song.php
index 6705dfa..98f11c3 100644
--- a/laravel/app/Song.php
+++ b/laravel/app/Song.php
@@ -17,7 +17,7 @@ class Song extends Model
     	$book = explode(' ',$passage)[0];
     	$chapter = (int)explode(' ', $passage)[1];
     	
-		return Song::where('verse', 'LIKE', "$book $chapter:%")->orWhere('verse',"$book $chapter");
+		return Song::where('verse', 'LIKE', "$book $chapter:%")->orWhere('verse',"$book $chapter")->orWhere('verse', 'LIKE', "%; $book $chapter:%");
     }
     public function textTranspose($key)
     {