]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
dvr: fix sort for owner and creator fields
authorJaroslav Kysela <perex@perex.cz>
Tue, 3 May 2016 14:24:47 +0000 (16:24 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 3 May 2016 14:24:47 +0000 (16:24 +0200)
src/dvr/dvr_db.c

index a94387b5f16f6fe7774d4af5b9bd4c1446086f23..12aa9530c65f64ee16520f9f6cdb5f58dc0f0950 100644 (file)
@@ -3034,6 +3034,7 @@ const idclass_t dvr_entry_class = {
       .off      = offsetof(dvr_entry_t, de_owner),
       .list     = user_get_userlist,
       .get_opts = dvr_entry_class_owner_opts,
+      .opts     = PO_SORTKEY,
     },
     {
       .type     = PT_STR,
@@ -3044,6 +3045,7 @@ const idclass_t dvr_entry_class = {
                      "by a matching rule."),
       .off      = offsetof(dvr_entry_t, de_creator),
       .get_opts = dvr_entry_class_owner_opts,
+      .opts     = PO_SORTKEY,
     },
     {
       .type     = PT_STR,