Index: openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl,v diff -u -r1.38.2.1 -r1.38.2.2 --- openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl 9 Jul 2019 17:28:47 -0000 1.38.2.1 +++ openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl 10 Jul 2019 12:36:42 -0000 1.38.2.2 @@ -541,17 +541,21 @@ ad_proc -public content::item::get_title { -item_id:required - {-is_live ""} + {-is_live "f"} } { + Get the title for the item. If a live revision for the item exists, use the live revision. Otherwise, use the latest revision. @param item_id The item_id of the content item - @param is_live + @param is_live If true, return the title of the live revision, otherwise + the one of the latest revision (default). + Boolean, 't' or 'f'. @return The title of the item @see content::item::get_best_revision + } { return [package_exec_plsql -var_list [list \ [list item_id $item_id ] \