forked from 0x2620/pandora
defaults
This commit is contained in:
parent
38d432bdd9
commit
735bdba9b3
1 changed files with 4 additions and 7 deletions
|
@ -43,23 +43,20 @@ def get_user_json(user):
|
||||||
def get_ui(user):
|
def get_ui(user):
|
||||||
return {
|
return {
|
||||||
"columns": ["id", "title", "director", "country", "year", "language", "genre"],
|
"columns": ["id", "title", "director", "country", "year", "language", "genre"],
|
||||||
"findQuery": {"conditions": [{"key": "", "value": "", "operator": ""}], "operator": ""},
|
"findQuery": {"conditions": [], "operator": ""},
|
||||||
"groupsQuery": {"conditions": [], "operator": "|"},
|
"groupsQuery": {"conditions": [], "operator": "|"},
|
||||||
"groupsSize": 128,
|
"groupsSize": 128,
|
||||||
"itemView": "info",
|
"itemView": "info",
|
||||||
"listQuery": {"conditions": [], "operator": ""},
|
"listQuery": {"conditions": [], "operator": ""},
|
||||||
"listsSize": 192,
|
"listsSize": 192,
|
||||||
"listView": "list",
|
"listView": "icons",
|
||||||
"sections": ["history", "lists", "public", "featured"],
|
"sections": ["history", "lists", "public", "featured"],
|
||||||
"showAnnotations": True,
|
|
||||||
"showGroups": True,
|
"showGroups": True,
|
||||||
"showInfo": True,
|
"showInfo": True,
|
||||||
"showLists": True,
|
"showLists": True,
|
||||||
"showMovies": True,
|
"showMovies": True,
|
||||||
"sort": [
|
"sort": settings.DEFAULT_SORT,
|
||||||
{"key": "director", "operator": ""}
|
"theme": settings.DEFAULT_THEME
|
||||||
],
|
|
||||||
"theme": "classic"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_preferences(user):
|
def get_preferences(user):
|
||||||
|
|
Loading…
Reference in a new issue