I am working on a project that holds projects with categories as part of his data.

Now, I have an index view to show all projects that use CListView to display results (update with ajax, using pagination).

It’s all working fine except when filtering a category…

What happens next is that I get duplicated results.

For instance:

"Project 1" is related to categories 1,2 & 3, -> filter category -> returns in first page "Project 1" with category 1 -> go to page 2 -> "Project 1" with category 2&3.

Each project have icons of the categories on him in display.

Please help. :)