@tiledesk/tiledesk-server 2.2.34 → 2.2.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -2
- package/package.json +1 -1
- package/routes/user-request.js +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
|
|
2
|
+
# 2.2.35 -> PROD
|
|
3
|
+
- BugFix projection for /me service
|
|
2
4
|
|
|
5
|
+
# 2.2.34
|
|
6
|
+
- Added transcript webpage for users without system messages
|
|
3
7
|
|
|
4
|
-
# 2.2.33
|
|
8
|
+
# 2.2.33
|
|
5
9
|
- Request fulltext sort fix
|
|
6
10
|
|
|
7
11
|
# 2.2.32
|
|
@@ -11,7 +15,6 @@
|
|
|
11
15
|
|
|
12
16
|
# 2.2.31 (compatible with: Dashboard 2.2.37, Widget 5.0.25)
|
|
13
17
|
- Fix email template reading from project.
|
|
14
|
-
- Added transcript webpage for users without system messages
|
|
15
18
|
- Fix export messages to csv
|
|
16
19
|
- Fix ip address resolver
|
|
17
20
|
- Exclude poweredBy field from widget endpoint
|
package/package.json
CHANGED
package/routes/user-request.js
CHANGED
|
@@ -321,8 +321,10 @@ router.get('/me', function (req, res, next) {
|
|
|
321
321
|
|
|
322
322
|
winston.verbose('REQUEST ROUTE - REQUEST FIND ', query);
|
|
323
323
|
|
|
324
|
+
var projection = undefined;
|
|
325
|
+
|
|
324
326
|
if (req.query.full_text) {
|
|
325
|
-
winston.
|
|
327
|
+
winston.debug('fulltext projection');
|
|
326
328
|
|
|
327
329
|
projection = {score: { $meta: "textScore" } };
|
|
328
330
|
}
|
|
@@ -352,7 +354,7 @@ router.get('/me', function (req, res, next) {
|
|
|
352
354
|
// }
|
|
353
355
|
|
|
354
356
|
if (req.query.full_text) {
|
|
355
|
-
winston.
|
|
357
|
+
winston.debug('fulltext sort');
|
|
356
358
|
q1.sort( { score: { $meta: "textScore" } } ) //https://docs.mongodb.com/manual/reference/operator/query/text/#sort-by-text-search-score
|
|
357
359
|
} else {
|
|
358
360
|
q1.sort(sortQuery);
|