Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #14692 - set default variables for sidebar totals #14693

Merged
merged 1 commit into from
May 7, 2024

Conversation

snipe
Copy link
Owner

@snipe snipe commented May 7, 2024

This one slipped past me . The AssetCountForSidebar middleware does some quick counting queries and shares with them all views for easy access and totals in the sidebar. Unfortunately, since this middleware also fires during /setup, where the migrations might not have been run yet, you might run into a 500 error on setup (since we're querying tables that might not exist until the next screen (which is database migrations).

Fixes #14692

@snipe snipe merged commit 3084521 into develop May 7, 2024
8 checks passed
Copy link

what-the-diff bot commented May 7, 2024

PR Summary

  • New Variables Introduction
    This update adds four pivotal variables into the system – total_due_for_checkin, total_overdue_for_checkin, total_due_for_audit and total_overdue_for_audit. By implementing these variables, it becomes simpler to monitor and manage assignments and audits. It ensures that tasks or audits that are due or past their due dates don't slip through the cracks. The addition of these variables sets the stage for better productivity and efficiency, enabling the system to keep a much tighter grip on timelines.

@snipe snipe deleted the fixes/14692_view_share_undefined branch May 7, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant