Wp-calypso: Media: We don't load more than 20 Jetpack media items

Created on 5 Nov 2016  路  5Comments  路  Source: Automattic/wp-calypso

  1. Navigate to http://calypso.localhost:3000/post
  2. Select a Jetpack site with more than 20 media items
  3. Only 20 items display in the media modal

see also: pbg9X-bdL-p2

Media [Type] Bug

Most helpful comment

Fixed in r145158-wpcom , Jetpack change sync pending at https://github.com/Automattic/jetpack/pull/5529

All 5 comments

I believe this is because wpcom returns next_page meta and jetpack sites do not:
screen shot 2016-11-04 at 4 43 33 pm

screen shot 2016-11-04 at 4 17 45 pm

cc @aduth does it look like the Jetpack api changed, or did we never handle this?

This seems to be a duplicate of #1191.

This bug has existed since the editor was first launched.

Hmm, we should probably close one or the other of this and #1191, but I believe you're right @gwwar that the likely reason for this not working is the lack of meta response property from Jetpack sites.

Fixed in r145158-wpcom , Jetpack change sync pending at https://github.com/Automattic/jetpack/pull/5529

Was this page helpful?
0 / 5 - 0 ratings