Changeset 833 for trunk/Modules/Translation/TranslationList.php
- Timestamp:
- Aug 24, 2015, 11:19:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Translation/TranslationList.php
r831 r833 185 185 } 186 186 if($Filter['State'] == CompletionState::All) { 187 187 $Filter['SQL'] .= $UserFilter.$VersionFilter; 188 188 } else 189 189 if($Filter['State'] == CompletionState::NotTranslated) { 190 190 $Filter['SQL'] .= $VersionFilter.' AND (`T`.`Language` = '.$this->System->Config['OriginalLanguage'].') '. 191 191 'AND NOT EXISTS(SELECT 1 FROM `'.$Table.'` AS `Sub` WHERE '. 192 192 '(`Sub`.`Language` <> '.$this->System->Config['OriginalLanguage'].') '.$LanguageFilterSub.$UserFilter. … … 195 195 } else 196 196 if($Filter['State'] == CompletionState::Translated) { 197 197 $Filter['SQL'] .= $UserFilter.$LanguageFilter.$VersionFilter.' AND (`T`.`Complete` = 1)'; 198 198 } else 199 199 if($Filter['State'] == CompletionState::NotFinished) { 200 200 $Filter['SQL'] .= $UserFilter.$LanguageFilter.$VersionFilter.' AND (`T`.`Language` != '.$this->System->Config['OriginalLanguage']. 201 201 ') AND (`T`.`Complete` = 0)'; 202 202 } else 203 203 if($Filter['State'] == CompletionState::Original) { 204 204 $Filter['SQL'] .= $VersionFilter.' AND (`T`.`Language` = '.$this->System->Config['OriginalLanguage'].')'; 205 205 } else 206 206 if($Filter['State'] == CompletionState::NotFinishedNotTranslated) { 207 207 $Filter['SQL'] .= $UserFilter.$VersionFilter.$WithoutAlter. 208 208 ' AND (`T`.`Language` != '.$this->System->Config['OriginalLanguage']. 209 209 ') AND (`T`.`Complete` = 0)';
Note:
See TracChangeset
for help on using the changeset viewer.