--- ajaxtable.module.orig 2008-01-11 23:49:45.000000000 -0600 +++ ajaxtable.module 2008-01-11 23:52:34.000000000 -0600 @@ -255,7 +255,7 @@ function _ajaxtable_render($table,$id,$u $or = ''; foreach ($table['columns'] as $col) { if ($col['searchable']) { - $search_query .= $or . $col['col'] . " LIKE '%%%s%' "; + $search_query .= $or . ($col['alias']?$col['alias']:$col['col']) . " LIKE '%%%s%' "; $search_values[] = $search_phrase; $or = ' OR '; }