Bible quick search to end does not work

Bug #1412517 reported by Phill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Low
Tomas Groth

Bug Description

Entering "gen 1v1-end" in the quick search on the bible media tab gives me the following traceback

As I understand if "end" is used then it should find all verses to the end of the passage.

Trunk r2479
Biblegateway Gods Word translation

Traceback (most recent call last):
  File "/home/phill/Projects/openlp/trunk/openlp/plugins/bibles/lib/mediaitem.py", line 659, in on_quick_search_button
    self.search_results = self.plugin.manager.get_verses(bible, text)
  File "/home/phill/Projects/openlp/trunk/openlp/plugins/bibles/lib/manager.py", line 274, in get_verses
    ref_list = parse_reference(verse_text, self.db_cache[bible], language_selection, book_ref_id)
  File "/home/phill/Projects/openlp/trunk/openlp/plugins/bibles/lib/__init__.py", line 374, in parse_reference
    if to_chapter > from_chapter:
TypeError: unorderable types: NoneType() > int()

Related branches

Phill (phill-ridout)
Changed in openlp:
importance: Undecided → Low
Tomas Groth (tomasgroth)
Changed in openlp:
assignee: nobody → Tomas Groth (tomasgroth)
status: New → In Progress
Tim Bentley (trb143)
Changed in openlp:
milestone: none → 2.1.3
status: In Progress → Fix Committed
Tim Bentley (trb143)
Changed in openlp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.