Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-27

Simplify code of kSearchHelper::getSearchClause method

    XMLWordPrintable

    Details

    • 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

      Description

      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);

        Attachments

          Activity

            People

            • Assignee:
              alex Alex
              Reporter:
              alex Alex
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: