Changeset 442


Ignore:
Timestamp:
06/25/12 19:39:59 (12 years ago)
Author:
nanardon
Message:
  • really fix DBIx query
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/lib/Sophie/Scan/RpmsPath.pm

    r441 r442  
    2828    $self->db->base->resultset('Paths')->find( 
    2929        { d_path_key => $self->key }, 
    30         { key => 'd_path_key' }, 
     30        { key => 'primary' }, 
    3131    )->path; 
    3232} 
     
    124124    $self->db->base->resultset('Paths')->find( 
    125125        { d_path_key => $self->key }, 
    126         { key => 'd_path_key' }, 
     126        { key => 'primary' }, 
    127127    )->update({ 'exists' => ($exists ? 1 : 0) }); 
    128128    $self->db->commit; 
     
    133133    $self->db->base->resultset('Paths')->find( 
    134134        { d_path_key => $self->key }, 
    135         { key => 'd_path_key' }, 
     135        { key => 'primary' }, 
    136136    )->update({ needupdate => 0 }); 
    137137    $self->db->commit; 
     
    142142    $self->db->base->resultset('Paths')->find( 
    143143        { d_path_key => $self->key }, 
    144         { key => 'd_path_key' }, 
     144        { key => 'primary' }, 
    145145    )->get_column('needupdate'); 
    146146} 
     
    150150    $self->db->base->resultset('Paths')->find( 
    151151        { d_path_key => $self->key }, 
    152         { key => 'd_path_key' }, 
     152        { key => 'primary' }, 
    153153    )->update({ 'updated' => \'now()' }); 
    154154    $self->db->commit; 
Note: See TracChangeset for help on using the changeset viewer.