fix sortKey

This commit is contained in:
j 2019-08-15 13:48:23 +02:00
parent 72272dfde4
commit e4a54b3cd4

View file

@ -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) {
({