5 description => "Add ComponentSortField and ComponentSortOrder sysprefs",
8 my ($dbh, $out) = @$args{qw(dbh out)};
10 INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
11 ('ComponentSortField','title','call_number|pubdate|acqdate|title|author','Specify the default field used for sorting','Choice'),
12 ('ComponentSortOrder','asc','asc|dsc|az|za','Specify the default sort order','Choice')
14 say $out "Added ComponentSortField and ComponentSortOrder sysprefs";