From 786311fa64ea2eeaff72410dd8fa5134061b5a7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 24 Sep 2018 16:58:35 -0400 Subject: [PATCH] use value --- src/database/postgres/sorted.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {