The pager count is wrong on the team list.
If you search for a team with more than 20 people in it, the page shows that there is a second page, but the list has only one entry.

Patch follows.

Files: 
CommentFileSizeAuthor
#1 storm_team_pager-1418918-1.patch1.1 KBkfritsche
PASSED: [[SimpleTest]]: [MySQL] 612 pass(es).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new1.1 KB
PASSED: [[SimpleTest]]: [MySQL] 612 pass(es).
[ View ]

The auto-generated count query from pager_query is wrong in this case, because we need a DISTINCT in the query, otherwise we get the team members.

Also this patch changes the LIKE('search string') to LIKE('%search string%') so it is possible to search for teams.

Status:Needs review» Fixed

committed to 6.x-2.x

Does this also affect 1.x?

No, this is because of the changes made of teams in storm 2.x

Status:Fixed» Closed (fixed)

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