forked from openlp/openlp
Fix bible search strictness for web bibles
This commit is contained in:
parent
87fc38fb6f
commit
7df342ff1a
@ -104,6 +104,7 @@ class HTTPBooks(object):
|
|||||||
"""
|
"""
|
||||||
if not isinstance(name, unicode):
|
if not isinstance(name, unicode):
|
||||||
name = unicode(name)
|
name = unicode(name)
|
||||||
|
name = name.title()
|
||||||
books = HTTPBooks.run_sql(u'SELECT id, testament_id, name, '
|
books = HTTPBooks.run_sql(u'SELECT id, testament_id, name, '
|
||||||
u'abbreviation, chapters FROM books WHERE name = ? OR '
|
u'abbreviation, chapters FROM books WHERE name = ? OR '
|
||||||
u'abbreviation = ?', (name, name))
|
u'abbreviation = ?', (name, name))
|
||||||
|
Loading…
Reference in New Issue
Block a user