When configuring the "list" and "unformatted" argument summaries, there is a checkbox to "Override number of items to display". However, checking this box doesn't expose the text field where site builders can enter a number:
https://skitch.com/becw/fp48b/argument-summary-pager-before
When the "Override ..." box is checked, the form should look like this:
https://skitch.com/becw/fp4gi/argument-summary-pager-after
It looks like the #dependency form property wasn't updated to the Drupal 7 #states property. Here's a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1240934-summary-items_per_page-depedency.patch | 1.29 KB | dawehner |
| 0-argument_summary_paging.patch | 1.09 KB | becw |
Comments
Comment #1
merlinofchaos commentedWe're not actually using states; it couldn't handle every case, so we needed to retain dependency. For consistency we kept everything with #dependency.
Comment #2
merlinofchaos commentedHmm. It looks like this is happening because the IDs changed. Unfortunately, the ID now actually embeds the summary style so it's not quite as simple to fix as it should be.
Comment #3
dawehnerSo here is a patch, which works fine and looks clean.
Comment #4
becw commentedWorks for me, looks good. Thanks!
Comment #5
dawehnerCommited to 7.x-3.x