update document panel in pandora_finddocuments
This commit is contained in:
parent
aab6dcc31a
commit
932a12b66e
2 changed files with 6 additions and 4 deletions
|
|
@ -287,7 +287,9 @@ pandora.ui.folderList = function(id, section) {
|
|||
// works when switching back from browser, but won't work on load, since
|
||||
// getListData relies on $folderList, so selectList is called in init handler
|
||||
selected: pandora.getListData().folder == id
|
||||
? [ui[ui.section == 'items' ? '_list' : ui.section.slice(0, -1)]]
|
||||
? [ui[ui.section == 'items' ? '_list'
|
||||
: ui.section == 'documents' ? '_collection'
|
||||
: ui.section.slice(0, -1)]]
|
||||
: [],
|
||||
sort: [{key: 'position', operator: '+'}],
|
||||
sortable: id != 'featured' || canEditFeatured,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue