Permalink
Browse files

committing patch for bug #2958

svn path=/bioperl-db/trunk/; revision=16447
  • Loading branch information...
1 parent 934acb7 commit dcbf72294c68ab348df5e8a3f6958d75681cab4d maj committed Dec 7, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/Bio/DB/Query/BioQuery.pm
View
2 lib/Bio/DB/Query/BioQuery.pm
@@ -216,6 +216,8 @@ sub translate_query{
}
# record the association table alias
$entitymap->{$assoc} = [$alias || $assoc];
+ $aliasmap->{$alias} = $assoc if $alias;
+ $aliasmap->{$alias} = $assoc if $alias;
# resolve all participating entities to table names; at the same
# time we need foreign keys and joins to all participating entities
for(my $i = 0; $i < @entities; $i++) {

0 comments on commit dcbf722

Please sign in to comment.