mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	slice entries before view
This commit is contained in:
		
							parent
							
								
									81b8d2ae1b
								
							
						
					
					
						commit
						cde0f066ad
					
				|  | @ -406,7 +406,7 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"] && $settings->_enableFullSe | |||
| 		$totalPages = (int) (count($entries)/$limit); | ||||
| 		if(count($entries)%$limit) | ||||
| 			$totalPages++; | ||||
| //		$entries = array_slice($entries, ($pageNumber-1)*$limit, $limit);
 | ||||
| 		$entries = array_slice($entries, ($pageNumber-1)*$limit, $limit); | ||||
| 	} | ||||
| // }}}
 | ||||
| } | ||||
|  |  | |||
|  | @ -160,8 +160,8 @@ $(document).ready( function() { | |||
| 			} | ||||
| 		} | ||||
| 
 | ||||
| 		if ($pageNumber != 'all') | ||||
| 			$entries = array_slice($entries, ($pageNumber-1)*$limit, $limit); | ||||
| //		if ($pageNumber != 'all')
 | ||||
| //			$entries = array_slice($entries, ($pageNumber-1)*$limit, $limit);
 | ||||
| 
 | ||||
| 		$this->htmlAddHeader('<script type="text/javascript" src="../styles/'.$this->theme.'/bootbox/bootbox.min.js"></script>'."\n", 'js'); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann