mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	Include page number in redirected topics
This commit is contained in:
		| @@ -58,6 +58,9 @@ topicsController.get = function(req, res, callback) { | ||||
| 				if (req.params.post_index){ | ||||
| 					url += '/'+req.params.post_index; | ||||
| 				} | ||||
| 				if (currentPage > 1) { | ||||
| 					url += '?page=' + currentPage; | ||||
| 				} | ||||
| 				return helpers.redirect(res, url); | ||||
| 			} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user