- fixed bug #977835 (Advanced search of Bibles is not working.)

bzr-revno: 1940
Fixes: https://launchpad.net/bugs/977835
This commit is contained in:
Andreas Preikschat 2012-04-12 19:52:49 +02:00
commit d9669bd143
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ def parse_reference(reference, bible, language_selection, book_ref_id=False):
if bible.get_book_by_book_ref_id(value[u'id']):
book_ref_id = value[u'id']
break
elif bible.get_book_by_book_ref_id(book_ref_id):
elif not bible.get_book_by_book_ref_id(book_ref_id):
book_ref_id = False
ranges = match.group(u'ranges')
range_list = get_reference_match(u'range_separator').split(ranges)