add timeofday

This commit is contained in:
j 2015-10-07 14:05:58 +03:00
parent 7218c3f220
commit 2742df5221
2 changed files with 13 additions and 3 deletions

View file

@ -147,6 +147,16 @@
"find": true,
"sort": true
},
{
"id": "timeofday",
"title": "Time of Day",
"type": "string",
"autocomplete": true,
"columnWidth": 180,
"filter": true,
"find": true,
"sort": true
},
{
"id": "date",
"title": "Date",
@ -516,7 +526,7 @@
"posters": {
"ratio": 0.625
},
"rightsLevel": {"member": 2, "staff": 2, "admin": 2},
"rightsLevel": {"member": 2, "staff": 0, "admin": 0},
"rightsLevels": [
{"name": "Public", "color": [128, 255, 128]},
{"name": "Restricted", "color": [255, 192, 128]},
@ -616,7 +626,7 @@
{"id": "category", "sort": [{"key": "name", "operator": "+"}]},
{"id": "tag", "sort": [{"key": "items", "operator": "-"}]},
{"id": "keywords", "sort": [{"key": "items", "operator": "-"}]},
{"id": "name", "sort": [{"key": "items", "operator": "-"}]}
{"id": "timeofday", "sort": [{"key": "items", "operator": "-"}]}
],
"filtersSize": 176,
"find": {"conditions": [], "operator": "&"},

View file

@ -298,7 +298,7 @@ pandora.ui.infoView = function(data) {
// Groups ------------------------------------------------------------------
renderGroup(['location', 'date', 'language']);
renderGroup(['location', 'date', 'timeofday', 'language']);
renderGroup(['category', 'name']);