Ignore:
Timestamp:
06/29/16 15:17:35 (8 years ago)
Author:
nanardon
Message:

ensure search on exported attribute is handle correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/objects.pm

    r1806 r1808  
    901901                $val ? q{exported='f'} : q{exported='t'} 
    902902            ) 
     903        } elsif ($attribute->iname eq 'exported') { 
     904            $sql = sprintf( 
     905                q{select ikey from %s where %s}, 
     906                $base->db->quote_identifier($class->_object_table), 
     907                $val ? q{exported='t'} : q{exported='f'} 
     908            ) 
    903909        } elsif ($attribute->{inline}) { 
    904910            $sql = sprintf( 
Note: See TracChangeset for help on using the changeset viewer.