Showing 1 changed files with 3 additions and 3 deletions
+3 -3
templates/auto/_search.html.ep
... ...
@@ -40,10 +40,10 @@
40 40
       $rows = $dbi->model($table)->select(
41 41
         [
42 42
           {__MY__ => '*'},
43
-          {__user => ['id']}
43
+          {user => ['id']}
44 44
         ],
45 45
         where => $where,
46
-        append => "order by project.id, __user.id limit $offset, $count"
46
+        append => "order by project.id, user.id limit $offset, $count"
47 47
       )->all;
48 48
     }
49 49
 
... ...
@@ -116,7 +116,7 @@
116 116
             <ul>
117 117
               % for my $project (@$rows) {
118 118
                 <%
119
-                  my $user_id = $project->{'__user.id'};
119
+                  my $user_id = $project->{'user.id'};
120 120
                   my $project_id = $project->{id};
121 121
                   my $rev = app->manager->default_branch($user_id, $project_id);
122 122
                   my $desc = app->git->description(app->rep_info($user_id, $project_id));