Changeset 547 for trunk/Modules/IS/IS.php
- Timestamp:
- Jun 13, 2013, 12:47:32 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/IS/IS.php
r545 r547 277 277 // Get total filtered item count in database 278 278 $Columns = implode(',', $Columns); 279 if($ UserFilter != '')279 if($Filter != '') 280 280 { 281 281 $Query = 'SELECT COUNT(*) FROM (SELECT '.$Columns.' FROM `'.$FormClass['Table'].'`) AS `TS` '.$Filter; … … 284 284 $TotalFilteredCount = $DbRow[0]; 285 285 } else $TotalFilteredCount = $TotalCount; 286 echo($TotalFilteredCount.', '); 286 287 $PageList = GetPageList($TotalFilteredCount); 287 288 … … 297 298 298 299 // Show search fields 299 $Output .= '<tr><form action="?a=list&t='.$Table.'&filter=1" method="post">'; 300 if(array_key_exists('r', $_GET)) $Addition = '&r='.$_GET['r']; 301 else $Addition = ''; 302 $Output .= '<tr><form action="?a='.$_GET['a'].'&t='.$Table.'&filter=1'.$Addition.'" method="post">'; 300 303 foreach($FormClass['Items'] as $ItemIndex => $FormItem) 301 304 if(!array_key_exists($FormItem['Type'], $this->System->FormManager->FormTypes) or
Note:
See TracChangeset
for help on using the changeset viewer.