The lists are currently hardcoded to show 10 items per page -- too low to be usable. That should be configurable.

Comments

nedjo’s picture

Agreed that this needs work.

Before coding, we should figure out:

  • What should the default list limit be?
  • What would be best: a global setting affecting all RedHen lists (like the core 'default_nodes_main' setting that controls home page node lists)? A setting per entity type? An exposed filter that allows users to dynamically choose a limit while filtering the lists?

@aDarkling: suggestions?

aDarkling’s picture

The default list limit should be 50 since the row information isn't that extensive, although your idea for setting it via a Drupal variable sounds great!

Using a filter to dynamically change the limit sounds great, too. Would that be theme_pager?

levelos’s picture

Issue summary: View changes
Status: Active » Fixed

Better late than never ;) Added a global setting on the RedHen settings page that is respected on all list views. Left the default at 10. Ref. 571e571.

Status: Fixed » Closed (fixed)

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

  • Commit 571e571 on 7.x-1.x, redhen-donation by levelos:
    #1791728 by levelos: Add a setting to configure the number of items per...

  • Commit 571e571 on 7.x-1.x, redhen-donation, relation-roles by levelos:
    #1791728 by levelos: Add a setting to configure the number of items per...