order_by
pre_options
post_options
+ select
) ) {
die "Cannot use toggle_disabled with $someopt"
if exists $opt{$someopt};
die 'Use of toggle_disabled with classnum has not been implemented'
if exists $hash{'classnum'};
+# CAUTION: For proper functioning of toggle_disabled,
+# please ensure changes to default options are synced with misc/xmlhttp-part_pkg.cgi
+
$opt{'extra_sql'} .= ( keys(%hash) ? ' AND ' : ' WHERE ' ).
FS::part_pkg->curuser_pkgs_sql;