Changeset 7343 for sandbox


Ignore:
Timestamp:
10/03/12 16:42:06 (11 years ago)
Author:
thiago
Message:

Ticket #3088 - Corrigido a listagem de mensagens locais por grupo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.5.0-expresso1/expressoMail1_2/js/MAQueryConfig.js

    r7146 r7343  
    118118   //sets tag data filter 
    119119   switch(data_default[4].toLowerCase()){ 
     120    case 'all': 
     121        var tagtolist_criteria = 'contains'; 
     122        var tagtolist_value = 'all'; 
     123        break; 
    120124    case 'unseen': 
    121125        var tagtolist_criteria = 'contains'; 
     
    345349  } 
    346350  this.tag += '],'; 
     351 
    347352} 
    348353 
     
    406411  } 
    407412  //Adding tag criteria 
     413  if(taglist.contains == "all"){ 
     414    this.tag = null; 
     415  } else { 
     416      this.tag = '"tags":['; 
     417      if(get_current_folder().indexOf("local") != "-1"){ 
     418          for(var k in taglist){ 
     419            if(k != null){ 
     420                    this.tag += '{"@contains":"'+taglist[k]+'"}],'; 
     421            } 
     422          } 
     423      }  
     424  } 
     425/* 
    408426  if(this.tag != null) 
    409427    this.tag = this.tag.substr(0, this.tag.length-2) + ', '; 
     
    424442  else 
    425443    this.tag = null; 
     444  //if no tag data was parametrizided, no one tag data will be returned 
     445  */ 
    426446} 
    427447 
Note: See TracChangeset for help on using the changeset viewer.