Index: openacs-4/contrib/packages/project-manager/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/index.tcl,v diff -u -r1.13.2.16 -r1.13.2.17 --- openacs-4/contrib/packages/project-manager/www/index.tcl 1 Jul 2005 17:34:31 -0000 1.13.2.16 +++ openacs-4/contrib/packages/project-manager/www/index.tcl 29 Aug 2005 20:40:13 -0000 1.13.2.17 @@ -95,10 +95,10 @@ if {![empty_string_p $searchterm]} { if {[regexp {([0-9]+)} $searchterm match query_digits]} { - set search_term_where " (upper(p.title) like upper('%$searchterm%') + set search_term_where " (upper(p.title) like upper('%' || :searchterm || '%') or p.item_id = :query_digits) " } else { - set search_term_where " upper(p.title) like upper('%$searchterm%')" + set search_term_where " upper(p.title) like upper('%' || :searchterm || '%')" } } else { set search_term_where ""