Skip to content

Node.js based forum software built for the modern web

use value

Barış Soner Uşaklı786311fa64ea
diff --git a/src/database/postgres/sorted.js b/src/database/postgres/sorted.js
index 5ba554a57e..8470109660 100644
--- a/src/database/postgres/sorted.js
+++ b/src/database/postgres/sorted.js
@@ -716,7 +716,7 @@ SELECT z."value", z."score" v
}
rows = rows.map(function (row) {
- return options.withScores ? row : row.v;
+ return options.withScores ? row : row.value;
});
process(rows, function (err) {