Yii Framework Forum: Clistview - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Clistview Duplicated results Rate Topic: -----

#1 User is offline   sheen 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 29-January 13

Posted 29 January 2013 - 05:08 AM

Hi,
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. :)
Thanks.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users