Skip to content

Commit aa0480f

Browse files
authored
Reset total SQL count on route transition (#624)
Fix total SQL count for SPAs when `show_total_sql_count` is enabled.
1 parent ac28045 commit aa0480f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/html/includes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,6 +1179,7 @@ var _MiniProfiler = (function() {
11791179

11801180
reqs = 0;
11811181
totalTime = 0;
1182+
totalSqlCount = 0;
11821183
expandedResults = false;
11831184
toArray(
11841185
document.querySelectorAll(".profiler-results .profiler-result")

0 commit comments

Comments
 (0)