forked from 0x2620/pandora
fix sortKey
This commit is contained in:
parent
72272dfde4
commit
e4a54b3cd4
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
({
|
||||
|
|
Loading…
Reference in a new issue