Index: openacs-4/contrib/packages/project-manager/www/tasks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/tasks.tcl,v diff -u -r1.5.2.30 -r1.5.2.31 --- openacs-4/contrib/packages/project-manager/www/tasks.tcl 5 Jul 2005 21:43:31 -0000 1.5.2.30 +++ openacs-4/contrib/packages/project-manager/www/tasks.tcl 6 Jul 2005 18:49:29 -0000 1.5.2.31 @@ -108,10 +108,10 @@ set mine_p "f" if {[regexp {([0-9]+)} $searchterm match query_digits]} { - set search_term_where " (upper(t.title) like '%' || upper(:searchterm) || '%') + set search_term_where " (upper(t.title) like upper('%' || :searchterm || '%') or t.item_id = :query_digits) " } else { - set search_term_where " upper(t.title) like upper('%' || upper(:searchterm) || '%')" + set search_term_where " upper(t.title) like upper('%' || :searchterm || '%')" } } else { set search_term_where ""