All pastes #475941 Raw Edit

bah

public text v1 · immutable
·published 2007-05-07 20:06 UTC
rendered paste body
   my @prods = $c->model('MXWebDB::Product')->search(                                                        
      {                                                                                                       
        material => $material,                                                                                
        form => $form,                                                                                        
        cat => $grade,                                                                                        
        enabled => 1,                                                                                         
      },                                                                                                      
      {                                                                                                       
         page => $page,                                                                                       
         rows => $c->config->{catalog}->{num_prods},                                                          
         order_by => qw/ sequence ASC /,                                                                      
       },                                                                                                     
    );