Index: openacs-4/packages/dotlrn-ecommerce/tcl/apm-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/tcl/apm-callback-procs.tcl,v diff -u -r1.22 -r1.23 --- openacs-4/packages/dotlrn-ecommerce/tcl/apm-callback-procs.tcl 21 Feb 2006 12:49:09 -0000 1.22 +++ openacs-4/packages/dotlrn-ecommerce/tcl/apm-callback-procs.tcl 23 Feb 2006 00:51:24 -0000 1.23 @@ -64,7 +64,18 @@ -sort_order $sort_order \ -default_value "true" \ -column_spec "boolean" - + + incr sort_order + + content::type::attribute::new \ + -content_type "dotlrn_catalog" \ + -attribute_name "auto_register_p" \ + -datatype "boolean" \ + -pretty_name "Auto Register" \ + -sort_order $sort_order \ + -default_value "false" \ + -column_spec "boolean" + # I think default_value does not set the default for the column so we do a db_dml db_dml "update_default" "alter table dotlrn_catalog alter display_p set default 'true'"