Index: openacs-4/packages/file-storage/www/search.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/search.tcl,v diff -u -r1.4.10.1 -r1.4.10.2 --- openacs-4/packages/file-storage/www/search.tcl 12 Sep 2015 11:06:20 -0000 1.4.10.1 +++ openacs-4/packages/file-storage/www/search.tcl 2 Jan 2016 20:13:30 -0000 1.4.10.2 @@ -26,13 +26,7 @@ set query "%${query}%" regsub -all {%+} $query {%} query -db_multirow results results { - select item_id as file_id, - content_item.get_title(item_id) as title - from cr_items - where lower(content_item.get_title(item_id)) like :query - and acs_permission.permission_p(item_id,:user_id,'read') = 't' -} +db_multirow results results {} # get the (lowercased) original back to feed to the template