File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
js/apps/system/_admin/aardvark/APP/frontend/js/views Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1
1
devel
2
2
-----
3
3
4
+ * Fix display of running and slow queries in web UI when there are multiple
5
+ coordinators. Previously, the display order of queries was undefined, which
6
+ could lead to queries from one coordinator being display on top once and
7
+ then the queries from another. That made using this UI harder than necessary.
8
+
9
+ Now queries are sorted for display, according to their query IDs.
10
+
4
11
* Updated ArangoDB Starter to 0.15.1-preview-2.
5
12
6
13
* Fix potential stack overflow when executing large queries. This is
Original file line number Diff line number Diff line change 233
233
'' ,
234
234
''
235
235
] ) ;
236
+ } else {
237
+ // sort by query id, descending
238
+ rowsArray = rowsArray . sort ( function ( l , r ) {
239
+ // normalize both inputs to strings (in case they are numbers)
240
+ l = String ( l [ 0 ] ) . padStart ( 20 , "0" ) ;
241
+ r = String ( r [ 0 ] ) . padStart ( 20 , "0" ) ;
242
+
243
+ if ( l === r ) {
244
+ return 0 ;
245
+ }
246
+ return l < r ? 1 : - 1 ;
247
+ } ) ;
236
248
}
237
249
238
250
self . tableDescription . rows = rowsArray ;
You can’t perform that action at this time.
0 commit comments