Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: rearrange some DB fields for UI
  • Loading branch information
perexg committed Dec 6, 2015
1 parent 7914d16 commit c0e27ad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/dvr/dvr_db.c
Expand Up @@ -1992,8 +1992,8 @@ dvr_entry_class_start_extra_opts(void *o)
{
dvr_entry_t *de = (dvr_entry_t *)o;
if (de && !dvr_entry_is_editable(de))
return PO_RDONLY | PO_DURATION;
return PO_DURATION;
return PO_RDONLY | PO_DURATION | PO_ADVANCED;
return PO_DURATION | PO_ADVANCED;
}

static int
Expand Down Expand Up @@ -2684,7 +2684,6 @@ const idclass_t dvr_entry_class = {
.set = dvr_entry_class_start_extra_set,
.list = dvr_entry_class_extra_list,
.get_opts = dvr_entry_class_start_extra_opts,
.opts = PO_SORTKEY | PO_ADVANCED,
},
{
.type = PT_TIME,
Expand Down

0 comments on commit c0e27ad

Please sign in to comment.