Skip to content

Previous days posts not loaded in the app #17042

Description

@guarani

Expected behavior

All users, regardless of their role, should be able to see their own posts in the app's Posts screen (My Site → Blog Posts → Published tab).

Actual behavior

In certain circumstances, authors cannot see their own posts in the app's Posts screen. This appears to happen when other users of the site publish enough posts to "push" the authors posts off the result page. This shouldn't happen, an author is requesting their posts, so the amount of posts published by other users shouldn't influence here.

Screen shown despite author having published posts

Note: Other roles such as contributors may also be affected.

Steps to reproduce the behavior

  1. Locate a WP.com site (e.g. a Simple site) and a site user with an author role
  2. Ensure the author has published posts (check on WP.com if needed)
  3. Publish 40 posts from other users (this is 40 because the app asks for 40 posts from the backend API to populate the Blog Posts screen – we have test accounts with this number of posts published, just ping for access)
  4. Log in to the WPiOS app
  5. Locate the site and navigate to My Site → Blog Posts → Published tab
  6. Notice that no posts are shown
Tested on iPhone 11, iOS 14.7.1, WPiOS 18.0 (18.0.0.1 beta)

Internal reference p4a5px-2L9-p2

This issue mirrors its WPAndroid counterpart wordpress-mobile/WordPress-Android#15213.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions