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 11devel
22-----
33
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+
411* Updated ArangoDB Starter to 0.15.1-preview-2.
512
613* Fix potential stack overflow when executing large queries. This is
Original file line number Diff line number Diff line change 233233 '' ,
234234 ''
235235 ] ) ;
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+ } ) ;
236248 }
237249
238250 self . tableDescription . rows = rowsArray ;
You can’t perform that action at this time.
0 commit comments