Projet

Général

Profil

Révision 582db59d

Ajouté par Assos Assos il y a plus de 8 ans

Update Drupal core to version 7.40

Voir les différences:

drupal7/modules/search/search.extender.inc
409 409
   * used. However, if at least one call to addScore() has taken place, the
410 410
   * keyword relevance score is not automatically added.
411 411
   *
412
   * Also note that if you call orderBy() directly on the query, search scores
413
   * will not automatically be used to order search results. Your orderBy()
414
   * expression can reference 'calculated_score', which will be the total
415
   * calculated score value.
412
   * Note that you must use this method to add ordering to your searches, and
413
   * not call orderBy() directly, when using the SearchQuery extender. This is
414
   * because of the two-pass system the SearchQuery class uses to normalize
415
   * scores.
416 416
   *
417 417
   * @param $score
418 418
   *   The score expression, which should evaluate to a number between 0 and 1.

Formats disponibles : Unified diff