removed an unnecessary copy

This commit is contained in:
antelle 2019-03-05 18:49:44 +01:00
parent 4ebe99d54e
commit e6a8a8c335
2 changed files with 1 additions and 2 deletions

View File

@ -148,7 +148,6 @@
"searchCase": "Match case",
"searchRegex": "RegEx",
"searchRank": "Rank",
"searchBestWorst": "Best {} Worst",
"openOpen": "Open",
"openNew": "New",

View File

@ -44,7 +44,7 @@ const ListSearchView = Backbone.View.extend({
{ value: 'updated', icon: 'sort-numeric-asc', loc: () => Locale.searchUpdated + ' ' + this.addArrow(Locale.searchON) },
{ value: '-updated', icon: 'sort-numeric-desc', loc: () => Locale.searchUpdated + ' ' + this.addArrow(Locale.searchNO) },
{ value: '-attachments', icon: 'sort-amount-desc', loc: () => Locale.searchAttachments },
{ value: '-rank', icon: 'sort-numeric-desc', loc: () => Locale.searchRank + ' ' + this.addArrow(Locale.searchBestWorst) }
{ value: '-rank', icon: 'sort-numeric-desc', loc: () => Locale.searchRank }
];
this.sortIcons = {};
this.sortOptions.forEach(function(opt) {