Changeset 6835 for branches


Ignore:
Timestamp:
07/20/12 12:12:03 (12 years ago)
Author:
eduardow
Message:

Ticket #2970 - Verificar inconsistencias em filtros com critério não contém.

File:
1 edited

Legend:

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

    r6824 r6835  
    130130                        foreach ($criteria as $j => $value) 
    131131                        {                                        
    132                                  
     132                                if ($criteria[$j]['operator'] == '!*') $script_criteria = "not ";  
     133 
    133134                                switch(strtoupper($criteria[$j]['field'])) {  
    134135                        case 'TO':          
     
    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"; 
Note: See TracChangeset for help on using the changeset viewer.