mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Fixup
* fix fetching areatriggers from DB and calculating found matches * fix Lang concatenating an array of strings with len < 2 * don't show debug-id col in picker windows (Summary/Profiler) and sort them by score if able
This commit is contained in:
@@ -2425,7 +2425,7 @@ Summary.prototype = {
|
||||
this.currentScale = $('option:selected', this.sortWeighted)[0].scale;
|
||||
}
|
||||
|
||||
lv.setSort([1], true, false);
|
||||
lv.setSort(this.currentScale ? [4] : [1], true, false);
|
||||
lv.setData(this.calcScores(lv.data, this.currentScale));
|
||||
|
||||
if (this.currentScale) {
|
||||
|
||||
@@ -5341,7 +5341,7 @@ function Listview(opt) {
|
||||
this.sort = [];
|
||||
}
|
||||
|
||||
if (this.debug || g_user.debug) {
|
||||
if (this.debug) {
|
||||
this.columns.splice(0, 0, {
|
||||
id: 'debug-id',
|
||||
compute: function(data, td) {
|
||||
|
||||
Reference in New Issue
Block a user