Index: openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs-oracle.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs-oracle.xql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs-oracle.xql 10 Jul 2001 20:38:43 -0000 1.1
+++ openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs-oracle.xql 18 Jul 2001 00:03:07 -0000 1.2
@@ -3,18 +3,31 @@
oracle8.1.6
-
+
select to_char(sysdate, 'YYYY-MM-DD') from dual
-
+
select to_char(sysdate, 'HH24:MI:SS') from dual
+
+
+
+ select c.category_id, c.category_name,
+ s.subcategory_id, s.subcategory_name,
+ ss.subsubcategory_id, ss.subsubcategory_name
+ from ec_categories c, ec_subcategories s, ec_subsubcategories ss
+ where c.category_id = s.category_id (+)
+ and s.subcategory_id = ss.subcategory_id (+)
+ order by c.sort_key, s.sort_key, ss.sort_key
+
+
+
Index: openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs-postgresql.xql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs-postgresql.xql 10 Jul 2001 20:38:43 -0000 1.1
+++ openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs-postgresql.xql 18 Jul 2001 00:03:07 -0000 1.2
@@ -3,18 +3,32 @@
postgresql7.1
-
+
select to_char(current_timestamp, 'YYYY-MM-DD')
-
+
select to_char(current_timestamp, 'HH24:MI:SS')
+
+
+
+
+ select c.category_id, c.category_name,
+ s.subcategory_id, s.subcategory_name,
+ ss.subsubcategory_id, ss.subsubcategory_name
+ from ec_categories c
+ LEFT JOIN ec_subcategories s using (category_id)
+ LEFT JOIN ec_subsubcategories ss on (s.subcategory_id = ss.subcategory_id)
+ order by c.sort_key, s.sort_key, ss.sort_key
+
+
+
Index: openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs.tcl 20 Apr 2001 20:51:13 -0000 1.1
+++ openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs.tcl 18 Jul 2001 00:03:07 -0000 1.2
@@ -239,7 +239,7 @@
# displays all categories, subcategories, and subsubcategories
# default is a list of all the items you want selected
-proc ec_category_widget { {multiple_p "f"} {default ""} {allow_null_categorization "f"}} {
+proc_doc ec_category_widget { {multiple_p "f"} {default ""} {allow_null_categorization "f"}} { displays all categories, subcategories, and subsubcategories, default is a list of all the items you want selected } {
if { $multiple_p == "f" } {
set to_return "