INNER CODE UNIT · Python

analysis_results

stanfrbd/cyberbro · app.py:366

        analysis_results = filtered_results[offset : offset + per_page]
    else:
        total_count = base_query.count()
        analysis_results = (
            base_query.order_by(AnalysisResult.end_time.desc()).limit(per_page).offset(offset).all()
        )

    # Calculate pagination metadata
    pagination = calculate_pagination_metadata(page, per_page, total_count)

    return render_template(
        "history.html",
        analysis_results=analysis_results,
        page=page,
        per_page=per_page,
        total_count=total_count,
        search_query=search_query,
        search_type=search_type,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…