Opened 15 years ago
Last modified 13 years ago
#4186 new defect (bug)
'max' not working correctly for bp_has_members
| Reported by: | jrfoell | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Contributions |
| Component: | Members | Version: | 1.5.5 |
| Severity: | normal | Keywords: | needs-refresh reporter-feedback |
| Cc: | justin@… |
Description
The 'max' argument is not overriding 'per_page' as it should
Attachments (1)
Change History (6)
#1
@
15 years ago
- Keywords dev-feedback added
- Milestone Awaiting Review → Future Release
I think this needs looking at from the perspective of making our template loop arguments function in the same way that WP_Query's do (i.e. if we have a param with the same name as WP does, it would confuse new people less if BP's behaviour of that param matched how WP handled it).
This param has been like this since BP 1.0, so would probably cause backwards compatibility problems if this patch was just dropped in.
#2
@
14 years ago
- Cc added
Well, WP_Query does not have a 'max' param, but all of the BuddyPress templates do... so maybe there just needs to be some consistency with this parameter among the BuddyPress templates (members, groups, forums), as it does something different in each.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch for bp-members-template.php