Changeset 751
- Timestamp:
- Jan 13, 2014, 1:25:02 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Translation/TranslationList.php
r747 r751 100 100 } 101 101 $Output .= '</select></td>'; 102 if($Filter['Language'] != 0) $LanguageFilter = ' AND (`T`.`Language` = '.$Filter['Language'].')'; 103 else $LanguageFilter = ''; 102 $LanguageFilter = ''; 103 $LanguageFilterSub = ''; 104 if($Filter['Language'] != 0) { 105 $LanguageFilter = ' AND (`T`.`Language` = '.$Filter['Language'].')'; 106 $LanguageFilterSub = ' AND (`Sub`.`Language` = '.$Filter['Language'].')'; 107 } 104 108 105 109 // User … … 144 148 { 145 149 $WithoutAlter = ' AND NOT EXISTS(SELECT 1 FROM `'.$Table.'` AS `Sub` WHERE '. 146 '(`Sub`.`Language` <> '.$this->System->Config['OriginalLanguage'].')'.$LanguageFilter .150 '(`Sub`.`Language` <> '.$this->System->Config['OriginalLanguage'].')'.$LanguageFilterSub. 147 151 ' AND (`Sub`.`Entry` = `T`.`Entry`) AND (`Sub`.`ID` != `T`.`ID`) AND (`Sub`.`Complete` = 1) AND '. 148 152 '(`Sub`.`VersionStart` = `T`.`VersionStart`) AND (`Sub`.`VersionEnd` = `T`.`VersionEnd`) LIMIT 1 ) '; … … 159 163 else if($Filter['State'] == 1) $Filter['SQL'] .= $VersionFilter.' AND (`T`.`Language` = '.$this->System->Config['OriginalLanguage'].') '. 160 164 'AND NOT EXISTS(SELECT 1 FROM `'.$Table.'` AS `Sub` WHERE '. 161 '(`Sub`.`Language` = '.$Filter['Language'].')'.$UserFilter.165 '(`Sub`.`Language` <> '.$this->System->Config['OriginalLanguage'].') '.$LanguageFilterSub.$UserFilter. 162 166 ' AND (`Sub`.`Entry` = `T`.`Entry`) AND (`Sub`.`Complete` = 1) AND '. 163 167 '(`Sub`.`VersionStart` = `T`.`VersionStart`) AND (`Sub`.`VersionEnd` = `T`.`VersionEnd`))'; -
trunk/includes/Version.php
r750 r751 6 6 // and system will need database update. 7 7 8 $Revision = 7 49; // Subversion revision8 $Revision = 750; // Subversion revision 9 9 $DatabaseRevision = 748; // Database structure revision 10 10 $ReleaseTime = '2014-01-12';
Note:
See TracChangeset
for help on using the changeset viewer.