I'm getting the following errors when using hierarchical select in conjunction with search_api and global filter:
So I don't really know if this belongs in the HS queue or Global filter's queue...It seems that by using global filter the underlying function "_hierarchical_select_process_calculate_selections()" is called and doesn't receive a flat list of id's in its array but rather the hsid and the lists of id's in a sub array. See debug screenshot.
Do you think this is something that is solvable by HS or do I need to take this up with global filter? Everything is working fine it's just these warnings I'm getting. Probably because global filter is sending wrong values, but shouldn't HS choke on that instead?
Comment | File | Size | Author |
---|---|---|---|
#2 | hierarchical_select-array-to string-conversion-notice-2622314-2.patch | 586 bytes | alexverb |
hs_selection.jpg | 326.1 KB | alexverb |
Comments
Comment #2
alexverb CreditAttribution: alexverb as a volunteer commentedIt seems this issue belongs in Global Filter's issue queue. But I'm proposing this small patch to avoid having these notices displayed when wrong values are entered. I don't know if this is the correct way to go but at least it keeps the watchdog clean.
Other than that this issue can be marked as closed...
Comment #3
alexverb CreditAttribution: alexverb as a volunteer commentedComment #5
stefan.r CreditAttribution: stefan.r commented