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

Don't calculate search relevance twice, when searching for one word only

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.1-RC1
    • Fix Version/s: 5.2.2-B1
    • Component/s: Data Management
    • Labels:
      None

      Description

      Add condition before foreach for appending $revelance_parts array (CategoriesEventHandler::OnSimpleSearch lines 2666:2668 and kCatDBEventHandler::OnSimpleSearch lines 1323:1326) to skip adding item when $positive_words contains only one item.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                glebs Gleb Sinkovskiy [Intechnic]
                Developer:
                Gleb Sinkovskiy [Intechnic]
                Reviewer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: