Ignore:
Timestamp:
12/07/10 03:42:22 (14 years ago)
Author:
nanardon
Message:
  • use same call to respect ajax/json output
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/lib/Sophie/Controller/Distrib.pm

    r82 r92  
    7373 
    7474sub distrib_rs : Private { 
    75     my ( $self, $c, $distrib ) = @_; 
     75    my ( $self, $c, $distrib, $asfilter ) = @_; 
     76    if ($asfilter && !( 
     77            $distrib->{distribution} || 
     78            $distrib->{release} || 
     79            $distrib->{arch} || 
     80            $distrib->{media} || 
     81            $distrib->{media_group})) { 
     82        return; 
     83    } 
     84 
    7685    return $c->model('Base')->resultset('Distribution') 
    7786        ->search( 
Note: See TracChangeset for help on using the changeset viewer.