Update public source
This commit is contained in:
@@ -151,19 +151,26 @@ def jobs_page():
|
||||
search_context_token,
|
||||
)
|
||||
|
||||
if (
|
||||
search_context is not None
|
||||
and not search_context["expired"]
|
||||
and selected_method_id
|
||||
and selected_version is not None
|
||||
):
|
||||
search_statistics = (
|
||||
issuance_service.get_search_context_statistics(
|
||||
search_context["token_hash"],
|
||||
selected_method_id,
|
||||
selected_version,
|
||||
)
|
||||
if search_context is not None:
|
||||
search_context["expires_at_local"] = (
|
||||
JobExportService(conn).format_local_timestamp(
|
||||
search_context["expires_at"]
|
||||
)
|
||||
)
|
||||
|
||||
if (
|
||||
search_context is not None
|
||||
and not search_context["expired"]
|
||||
and selected_method_id
|
||||
and selected_version is not None
|
||||
):
|
||||
search_statistics = (
|
||||
issuance_service.get_search_context_statistics(
|
||||
search_context["token_hash"],
|
||||
selected_method_id,
|
||||
selected_version,
|
||||
)
|
||||
)
|
||||
|
||||
if request.method == "POST":
|
||||
if not selected_method_id:
|
||||
|
||||
Reference in New Issue
Block a user