Drupal's pager needs a db query to work. Using entity_controller->load() doesn't create the right kind of db object for the pager.

Attached patch runs a db query and then uses entity_load() on the fid's from the query. This way you can extend PagerDefault and get the pager to display and work properly.

Comments

james.elliott’s picture

Status: Active » Needs review
james.elliott’s picture

StatusFileSize
new523 bytes

New patch using EntityFieldQuery()

effulgentsia’s picture

Status: Needs review » Fixed
StatusFileSize
new1.46 KB

Committed this instead.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.