Index: openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml,v diff -u -N -r1.58 -r1.59 --- openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml 4 Jul 2018 10:20:41 -0000 1.58 +++ openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml 24 Jul 2018 19:13:55 -0000 1.59 @@ -715,10 +715,10 @@ if { $use_categories_p == 1 && $category_id ne "" } { - set from_clause "category_object_map com, acs_named_objects nam" + set from_clause "category_object_map com, acs_named_objects ano" set_where_clause "com.object_id = qa.entry_id and - nam.package_id = :package_id and - com.object_id = nam.object_id and + ano.package_id = :package_id and + com.object_id = ano.object_id and com.category_id = :category_id" ... @@ -1573,7 +1573,7 @@ file so that new installation will have the new data model. Next, check what version your package is currently at. For - example, it may be at version 1.0b1. Create a file in + example, it may be at version 1.0b1. Create a file in sql/postgres/upgrade called packagename-1.0b1-1.0b2.sql and put the SQL code that will update the data model. For example, if you add in a column, you would have an alter table add column