Commit c8b25004 authored by echel0n's avatar echel0n

Added passing of database session for scene number function calls in display show web handler.

parent eb3a9121
......@@ -947,10 +947,10 @@ class DisplayShowHandler(BaseHandler, ABC):
epCounts=ep_counts,
epCats=ep_cats,
all_scene_exceptions=show_obj.exceptions,
scene_numbering=get_scene_numbering_for_show(indexer_id, indexer),
xem_numbering=get_xem_numbering_for_show(indexer_id, indexer),
scene_absolute_numbering=get_scene_absolute_numbering_for_show(indexer_id, indexer),
xem_absolute_numbering=get_xem_absolute_numbering_for_show(indexer_id, indexer),
scene_numbering=get_scene_numbering_for_show(indexer_id, indexer, session=self.db_session),
xem_numbering=get_xem_numbering_for_show(indexer_id, indexer, session=self.db_session),
scene_absolute_numbering=get_scene_absolute_numbering_for_show(indexer_id, indexer, session=self.db_session),
xem_absolute_numbering=get_xem_absolute_numbering_for_show(indexer_id, indexer, session=self.db_session),
title=show_obj.name,
controller='home',
action="display_show"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment