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.

CommentFileSizeAuthor
#1 storm_team_pager-1418918-1.patch1.1 KBkfritsche
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kfritsche’s picture

Status: Active » Needs review
FileSize
1.1 KB

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.

kfritsche’s picture

Status: Needs review » Fixed

committed to 6.x-2.x

juliangb’s picture

Does this also affect 1.x?

kfritsche’s picture

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.