List content selector is :
'div.view-content .item-list > *'
If results of the view contains a themed list, this selector targets them, which is not the correct behaviour.
To be sure that data is added to the views results only, this selector is better :
'div.view-content > .item-list > *'

This bug occurs when a module adds

in views rows.
Rate module does this to display stars.

Here is a patch attached for review.

Comments

Remon’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

vacilando’s picture

Issue summary: View changes

Well, in my case the module does not work on a list view precisely because of the above change.

The HTML structure is:

<div class="view-content">
<div class="content-list">
<div class="item-list">
<ul class="content-list">
<li ...

Since .item-list is not just under .view-content, the selector does not work.

With 'div.view-content .item-list > *' as before it does work...
Ideas?