Changeset 664 for trunk/Modules/IS/IS.php
- Timestamp:
- Jun 13, 2014, 8:02:40 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/IS/IS.php
r661 r664 386 386 if($Filter != '') 387 387 { 388 $Query = 'SELECT COUNT(*) FROM (SELECT '.$Columns.' FROM '.$SourceTable.') AS `TS`'.$Filter;388 $Query = 'SELECT COUNT(*) FROM '.$SourceTable.' '.$Filter; 389 389 $DbResult = $this->Database->query($Query); 390 390 $DbRow = $DbResult->fetch_row(); … … 423 423 424 424 // Load and show items 425 $Query = 'SELECT * FROM (SELECT '.$Columns.' FROM '.$SourceTable.') AS `TS`'.425 $Query = 'SELECT '.$Columns.' FROM '.$SourceTable.' '. 426 426 $Filter.' '.$Order['SQL'].$PageList['SQLLimit']; 427 427 $VisibleItemCount = 0;
Note:
See TracChangeset
for help on using the changeset viewer.