Index: openacs-4/packages/search/tcl/search-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/search/tcl/search-init.tcl,v diff -u -r1.13.2.1 -r1.13.2.2 --- openacs-4/packages/search/tcl/search-init.tcl 4 Aug 2020 10:25:21 -0000 1.13.2.1 +++ openacs-4/packages/search/tcl/search-init.tcl 22 Feb 2021 17:01:44 -0000 1.13.2.2 @@ -8,11 +8,13 @@ Schedule the indexer if the search package has been instantiated (indexing doesn't work if it hasn't been, so why should we schedule it?). - We use the uncached version of apm_package_id_from_key to avoid forcing the user to - restart their server after mounting search. - + We do not use the cached api apm_package_id_from_key to avoid + forcing the user to restart their server after mounting search. } { - set package_id [apm_package_id_from_key_not_cached search] + set package_id [db_string get_package { + select package_id from apm_packages + where package_key = 'search' + } -default 0] if { $package_id != 0 } { ad_schedule_proc \ -thread t [parameter::get \