fix a bug where opening an item from clip view, sorted by text or position, would send an invalid sort key to the item view movies browser
This commit is contained in:
parent
8caa57d33e
commit
c25c4d84cc
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ pandora.ui.browser = function() {
|
||||||
pageLength: 32,
|
pageLength: 32,
|
||||||
selected: [pandora.user.ui.item],
|
selected: [pandora.user.ui.item],
|
||||||
size: 64,
|
size: 64,
|
||||||
sort: ['text', 'position'].indexOf(pandora.user.ui.listSort) > -1
|
sort: ['text', 'position'].indexOf(pandora.user.ui.listSort[0].key) > -1
|
||||||
? pandora.site.user.ui.listSort: pandora.user.ui.listSort,
|
? pandora.site.user.ui.listSort: pandora.user.ui.listSort,
|
||||||
unique: 'id'
|
unique: 'id'
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue