Closed (fixed)
Project:
Search API Solr
Version:
4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2021 at 11:24 UTC
Updated:
23 Dec 2021 at 18:44 UTC
Jump to comment: Most recent
Comments
Comment #2
mkalkbrennerI don't understand how the patch should be related to "range_slider". Can you provide more details?
Comment #3
mkalkbrennerNevertheless the patch might make sense if another module creates an erroneously query using a multi value operator with a single value.
Comment #4
mkalkbrennerBut shouldn't we throw an exception instead?
Comment #5
mkalkbrennerComment #7
mkalkbrennerComment #8
DeFr commentedSmall nitpick, coming in a bit late (sorry about that) : shouldn't the inline comment be above the switch instead of being above the if ?
(As is, when createFilterQuery is called with a scalar $value and '=' as an operator, $value will first be converted to an array at the top of the function, then made scalar again here)