- Timestamp:
- 10/03/12 16:42:06 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.5.0-expresso1/expressoMail1_2/js/MAQueryConfig.js
r7146 r7343 118 118 //sets tag data filter 119 119 switch(data_default[4].toLowerCase()){ 120 case 'all': 121 var tagtolist_criteria = 'contains'; 122 var tagtolist_value = 'all'; 123 break; 120 124 case 'unseen': 121 125 var tagtolist_criteria = 'contains'; … … 345 349 } 346 350 this.tag += '],'; 351 347 352 } 348 353 … … 406 411 } 407 412 //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 /* 408 426 if(this.tag != null) 409 427 this.tag = this.tag.substr(0, this.tag.length-2) + ', '; … … 424 442 else 425 443 this.tag = null; 444 //if no tag data was parametrizided, no one tag data will be returned 445 */ 426 446 } 427 447
Note: See TracChangeset
for help on using the changeset viewer.