Not quite sure how to explain this but i think the title is pretty close.

I have numerous views on my site and in many cases (possibly all) the indexing seems to be messed up.

Example 1:

- 2 simple views for creating 2 sets of footer links
- there are 2 of each type.
- when i look at the $id value that exists as i build the first set of links and then the 2nd is 1,2,3,4 - where as i think it should be 1,2,1,2. It seems to have one index counter for both views.
- also, for this same example when i look at the global current_view i see pager_total_items = 6, pager_total = 3 - neither of which makes any sense

- also of note - if i turn of the block that displays the 1st set of links - by $id values for the 2nd set are now 1,2 (as opposed to 3,4 before) (but current view values are untouched).

So, for some reason the 2 views seem to count items with the same counter.

Comments

liquidcms’s picture

although it seems that this only happens with Teaser Lists - if i convert to List View then the $id counter seems to work correctly.

the pager values are still messed up however.

sun’s picture

Status: Active » Postponed (maintainer needs more info)

Is it possible that you're using identical pager ids for both views?

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No update for more than 30 days.