Skip to content

Commit

Permalink
Merge branch 'dev' into shareous
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornoleh authored Oct 6, 2023
2 parents 203f16f + 5f8c734 commit 10cd789
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/api3/generic/history/operation.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ function parseFilter (opCtx) {
}

return [
{ field: 'srvModified', operator: operator, value: lastModified.getTime() },
{ field: 'created_at', operator: operator, value: lastModified.toISOString() },
{ field: 'date', operator: operator, value: lastModified.getTime() }
{ field: 'srvModified', operator: operator, value: lastModified.getTime() }
];
}

Expand All @@ -116,9 +114,7 @@ function parseFilter (opCtx) {
*/
function prepareSort () {
return {
srvModified: 1,
created_at: 1,
date: 1
srvModified: 1
};
}

Expand Down
1 change: 1 addition & 0 deletions lib/language.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function init (fs) {
, { code: 'sl', file: 'sl_SL', language: 'Slovenščina', speechCode: 'sl-SL' }
, { code: 'sv', file: 'sv_SE', language: 'Svenska', speechCode: 'sv-SE' }
, { code: 'tr', file: 'tr_TR', language: 'Türkçe', speechCode: 'tr-TR' }
, { code: 'uk', file: 'uk_UA', language: 'українська', speechCode: 'uk-UA' }
, { code: 'zh_cn', file: 'zh_CN', language: '中文(简体)', speechCode: 'cmn-Hans-CN' }
// , { code: 'zh_tw', file: 'zh_TW', language: '中文(繁體)', speechCode: 'cmn-Hant-TW' }
];
Expand Down

0 comments on commit 10cd789

Please sign in to comment.