Changeset 795 for trunk/Modules/IS/IS.php
- Timestamp:
- Feb 4, 2016, 3:42:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/IS/IS.php
r774 r795 414 414 else $SourceTable = '`'.$FormClass['Table'].'` AS `TX`'; 415 415 416 $WhereFilter = $Filter; 417 $HavingFilter = ''; 418 416 419 // Build form type filter 417 420 $TypeFilter = ''; … … 427 430 if($TypeFilter != '') 428 431 { 429 if($ Filter != '') $Filter = ' AND';430 $ Filter .= ' '.$TypeFilter;432 if($HavingFilter != '') $HavingFilter = ' AND'; 433 $HavingFilter .= ' '.$TypeFilter; 431 434 } 432 435 … … 465 468 if($UserFilter != '') 466 469 { 467 if($Filter != '') $Filter .= ' AND'; 468 $Filter .= ' '.$UserFilter; 469 } 470 if($Filter != '') $Filter = ' HAVING '.$Filter; 470 if($HavingFilter != '') $Havingilter .= ' AND'; 471 $HavingFilter .= ' '.$UserFilter; 472 } 473 if($WhereFilter != '') $Filter = ' WHERE '.$WhereFilter; 474 if($HavingFilter != '') $Filter = ' HAVING '.$HavingFilter; 475 471 476 472 477 foreach($FormClass['Items'] as $ItemIndex => $FormItem)
Note:
See TracChangeset
for help on using the changeset viewer.