Changeset 6809


Ignore:
Timestamp:
07/18/12 17:49:26 (12 years ago)
Author:
airton
Message:

Ticket #2970 - Verificar inconsistencias em filtros com criterio nao contem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/filters/interceptors/FilterMapping.php

    r6789 r6809  
    130130                        foreach ($criteria as $j => $value) 
    131131                        {                                        
     132                                if ($criteria[$j]['operator'] == '!*') $script_criteria = "not "; 
    132133                                 
    133134                                switch(strtoupper($criteria[$j]['field'])) { 
     
    208209                                                $endswith = true; 
    209210                                                break; 
    210                                         /*  
    211                                            TO-DO: 
    212                                            Inconsistência na regra do "não contém". 
    213                                         */ 
    214211                                        case '!*': 
    215212                                                $criteria[$j]['operator'] = "contains"; 
     
    307304                $script_begin = "#Filtro gerado por Expresso Livre\r\n\r\n"; 
    308305                $content = $script_begin . $script_header . $script_rules . "\r\n\r\n#PseudoScript#" . "\r\n#" . $json_data; 
    309  
     306                 
    310307                return( $content ); 
    311308        } 
Note: See TracChangeset for help on using the changeset viewer.