fix default item sort in config json
This commit is contained in:
parent
55b517b54b
commit
460a4217ea
2 changed files with 7 additions and 5 deletions
|
@ -568,7 +568,7 @@
|
|||
"icons": "posters",
|
||||
"infoIconSize": 256,
|
||||
"item": "",
|
||||
"itemSort": [{"key": "clip:position", "operator": "+"}],
|
||||
"itemSort": [{"key": "position", "operator": "+"}],
|
||||
"itemView": "info",
|
||||
"listColumns": ["title", "director", "country", "year", "language", "runtime", "genre"],
|
||||
"listColumnWidth": {},
|
||||
|
|
|
@ -79,10 +79,12 @@ pandora.URL = (function() {
|
|||
state.view = pandora.user.ui.itemView;
|
||||
state.sort = pandora.user.ui.itemSort;
|
||||
}
|
||||
if (pandora.user.ui.mapSelection) {
|
||||
state.span = '@' + pandora.user.ui.mapSelection;
|
||||
} else if (pandora.user.ui.mapFind) {
|
||||
state.span = '@' + pandora.user.ui.mapFind;
|
||||
if (state.view == 'map') {
|
||||
if (pandora.user.ui.mapSelection) {
|
||||
state.span = '@' + pandora.user.ui.mapSelection;
|
||||
} else if (pandora.user.ui.mapFind) {
|
||||
state.span = '@' + pandora.user.ui.mapFind;
|
||||
}
|
||||
}
|
||||
/*
|
||||
: pandora.isClipView(pandora.user.ui.itemView)
|
||||
|
|
Loading…
Reference in a new issue