-
Type: Refactoring
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.0.0
-
Fix Version/s: 5.0.0
-
Component/s: Optimization
-
Labels:None
-
External issue URL:
-
External issue ID:37
-
Copy Issue Key:
-
Patch Instructions:
Usage of method "kSearchHelper::getFieldInformation" in method "kSearchHelper::getSearchClause" is not so obvious:
extract( $this->getFieldInformation($object, $field_name) );
Idea is to replace this code with something like this:
list ($field_name, $field_type, ...) = $this->getFieldInformation($object, $field_name);