5 description => "Add option to specify sorting for author links",
8 my ( $dbh, $out ) = @$args{qw(dbh out)};
13 INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
14 ('AuthorLinkSortBy','default','call_number|pubdate|acqdate|title','Specify the default field used for sorting when click author links','Choice'),
15 ('AuthorLinkSortOrder','asc','asc|dsc|az|za','Specify the default sort order for author links','Choice')
18 say $out "Added new system preferences 'AuthorLinkSortBy' 'AuthorLinkSortOrder'";