viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]

Attempt to reduce query retrieval time by sending less data in raw=1 case take 2, a=chris

Chris Pollett [2019-07-11 18:Jul:th]
Attempt to reduce query retrieval time by sending less data in raw=1 case take 2, a=chris
Filename
src/models/PhraseModel.php
diff --git a/src/models/PhraseModel.php b/src/models/PhraseModel.php
index 6b6b9658f..2c0c19eaf 100755
--- a/src/models/PhraseModel.php
+++ b/src/models/PhraseModel.php
@@ -1258,6 +1258,7 @@ class PhraseModel extends ParallelModel
             $result_pages = [];
             foreach ($pages as $p) {
                 $result_page = [
+                    self::SCORE => $p[self::SCORE],
                     self::USER_RANKS => $p[self::USER_RANKS],
                     self::DOC_RANK => number_format($p[self::DOC_RANK], 4),
                     self::RELEVANCE => number_format($p[self::RELEVANCE], 4),
ViewGit