Add a new force_sort_criteria option, to globally override the SortCriteria value sent by the client.

This commit is contained in:
Justin Maggard
2014-01-07 11:30:15 -08:00
parent a75bdadce1
commit 3f4877cf2f
8 changed files with 36 additions and 8 deletions

View File

@ -694,6 +694,9 @@ init(int argc, char **argv)
uid = entry->pw_uid;
}
break;
case FORCE_SORT_CRITERIA:
force_sort_criteria = ary_options[i].value;
break;
default:
DPRINTF(E_ERROR, L_GENERAL, "Unknown option in file %s\n",
optionsfile);