Index: openacs-4/packages/acs-api-browser/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-api-browser/www/index.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/packages/acs-api-browser/www/index.tcl 30 Jun 2018 22:04:28 -0000 1.11 +++ openacs-4/packages/acs-api-browser/www/index.tcl 3 Sep 2024 15:37:30 -0000 1.12 @@ -29,9 +29,16 @@ multirow create disabled_packages multirow create uninstalled_packages - if { [db_0or1row get_local_package_version_id {} ] } { - rp_form_update version_id $version_id + if { [db_0or1row get_local_package_version_id { + select min(version_id) as version_id + from apm_package_version_info + where installed_p = 't' + and enabled_p = 't' + and package_key = :about_package_key + }] } { + ns_set update [ns_getform] version_id $version_id rp_internal_redirect package-view + ad_script_abort } } else {