From e4a54b3cd419a3288b5815fbc339a614feb39bd8 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 15 Aug 2019 13:48:23 +0200 Subject: [PATCH] fix sortKey --- static/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index b111f0e4..1661b418 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -145,7 +145,7 @@ pandora.addFolderItem = function(section) { } function getPosterFrames(newList) { var query, - sortKey = Ox.getObjectById(pandora.site.itemKeys, 'votes') + sortKey = section == 'items' && Ox.getObjectById(pandora.site.itemKeys, 'votes') ? 'votes' : 'timesaccessed'; if (!isDuplicate) { ({