mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 13:32:25 -05:00 
			
		
		
		
	[bugfix] paging rel links (#2883)
* fix paging so it uses correct cursor query parameter name
* improved code comment
* whoops, flip the cursoring 🤦
* fix the broken test
	
	
This commit is contained in:
		
					parent
					
						
							
								bfc21e4850
							
						
					
				
			
			
				commit
				
					
						4f87ef246c
					
				
			
		
					 3 changed files with 49 additions and 26 deletions
				
			
		|  | @ -162,7 +162,7 @@ func (suite *RepliesGetTestSuite) TestGetRepliesNext() { | |||
| 		"id":           targetStatus.URI + "/replies?limit=20&only_other_accounts=false", | ||||
| 		"partOf":       targetStatus.URI + "/replies?only_other_accounts=false", | ||||
| 		"next":         "http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?limit=20&min_id=01FF25D5Q0DH7CHD57CTRS6WK0&only_other_accounts=false", | ||||
| 		"prev":         "http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?limit=20&max_id=01FF25D5Q0DH7CHD57CTRS6WK0&only_other_accounts=false", | ||||
| 		"prev":         "http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?limit=20&min_id=01FF25D5Q0DH7CHD57CTRS6WK0&only_other_accounts=false", | ||||
| 		"orderedItems": []string{"http://localhost:8080/users/admin/statuses/01FF25D5Q0DH7CHD57CTRS6WK0"}, | ||||
| 		"totalItems":   1, | ||||
| 	}) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue