The attached patch implements the option to wrap lists from the beginning, end, or both.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | custom_pagers-wrapping-443210-8-D7.patch | 3.13 KB | david lesieur |
| #7 | custom_pagers-wrapping-443210-7-D7.patch | 3.13 KB | david lesieur |
| #4 | custom_pagers-wrapping-443210-4-D7.patch | 3.08 KB | david lesieur |
| #1 | custom_pagers_wrap_443210.patch | 3.04 KB | drewish |
| custom_pagers_wrap.patch | 3.03 KB | raspberryman |
Comments
Comment #1
drewish commentedout of date. here's a re-roll.
Comment #2
drewish commentedforgot to mention that it needs and update function for the schema changes.
Comment #3
benklocek commentedAny chance that this will get committed?
Comment #4
david lesieur commentedHere's an updated patch for the D7 version. The update function is provided and the interface text is improved (I think).
Comment #5
sw3b commentedGood work on the patch for D7... Merci @David pour le bon travail !!! ;o)
Comment #6
david lesieur commentedI have noticed that error messages get thrown when $nav['full_list'] is empty. For example, this happens when the custom pager is based on a view that returns no results. The patch will need a little work to add more validation.
Comment #7
david lesieur commentedHere's a new patch that fixes the error messages.
Comment #8
david lesieur commentedActually this patch is better. It also avoids wrapping when the list being paged on has a single item.
Comment #9
sw3b commentedWork for me thanks !