--- ajaxtable.module.orig       2008-01-04 12:06:55.000000000 -0600
+++ ajaxtable.module    2008-01-04 12:20:59.000000000 -0600
@@ -256,7 +256,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 ';
       }