mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-10-31 22:18:52 +00:00
whoops, flip the cursoring 🤦
This commit is contained in:
parent
1db536e825
commit
7404ea2057
1 changed files with 2 additions and 2 deletions
|
@ -295,9 +295,9 @@ func (p *Page) ToLinkURL(proto, host, path string, queryParams url.Values) *url.
|
|||
// page will be cursored by either
|
||||
// the min or max query parameter.
|
||||
if p.order().Ascending() {
|
||||
cursor = p.Max.Name
|
||||
} else {
|
||||
cursor = p.Min.Name
|
||||
} else {
|
||||
cursor = p.Max.Name
|
||||
}
|
||||
|
||||
if cursor != "" {
|
||||
|
|
Loading…
Reference in a new issue