New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API: "Get posts for a channel" always shows 'has_next' as false #26862
Labels
Help Wanted
Community help wanted
Comments
The objective for this ticket is to change the
omitempty and change it to a pointer.
And then change the code in the sqlstore/post_store.go to appropriately dereference the pointer and set it. Also, please add a test to ensure that |
Hello @mattermod. I would like to work on this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using the Get posts for a channel API call, the response includes a
has_next
attribute, which is supposed to indicate if more pages are available. In my testing (on Mattermost v9.5.3) it always returnsfalse
. In the example here:you can see both the
next_post_id
andprev_post_id
fields are populated, and there are definitely more pages available, yet thehas_next
field remains steadfastly asfalse
.If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
JIRA: https://mattermost.atlassian.net/browse/MM-57937
The text was updated successfully, but these errors were encountered: