Global counter stopped working it's only returned a 1 for each entry.
I use the XML Export (Views Bonus) and the Book Hierarchy sorting.

If I change the line 38 of views_handler_field_counter.inc by:

    //$count += $this->view->row_index + 1;
    $count += array_search($values, $this->view->result) + 1;

It's work perfect.

CommentFileSizeAuthor
#3 1188248-rss-row_index.patch775 bytesdawehner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

But this is not how it should work.

Can you please try out the 6.x-2.x-dev version and switch to another style?
If it works on "fields" style please move the issue to views bonus pack.

kobee’s picture

Yes, you're right.
It's work on the page display, but not on the Feed (Since we can't edit the fields without the bonus pack).
And on feeds, it's automatically "Node" style.

Thanks.

dawehner’s picture

Status: Postponed (maintainer needs more info) » Fixed
FileSize
775 bytes

That's indeed a bug of views.

Commited to 7.x-3.x, 6.x-3.x, 6.x-2.x

Status: Fixed » Closed (fixed)

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