Closed (fixed)
Project:
Facets
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2016 at 09:36 UTC
Updated:
17 Oct 2016 at 19:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sylvainm commentedWith this patch, I solve the problem
Comment #3
borisson_Comment #4
borisson_We would need to actually see what's going wrong here, can you add steps to reproduce?
Comment #5
sylvainm commentedSTR:
The first foreach loop (l.85) does not use indexes of $results to store $ids but incremental, starting from 0; but the second one (l.119) uses it: $ids[$i], so if we want that $ids[$i] to be set, we have to uses $results when filling $ids.
When you are on the page ?f[0]=field_taxo%3A56, the $i in second foreach does not always start with 0 (in my case, it is 5 the first key).
Is it more clear for you?
Comment #6
borisson_Committed, thanks!