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:
Sarjuuk
2025-08-04 19:30:10 +02:00
parent 569c9efca4
commit 08f0ae711e
4 changed files with 8 additions and 5 deletions

View File

@@ -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) {

View File

@@ -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) {