The method getActiveItems() of FacetApiAdapter class has wrong doc comment for input argument $facet.

For now it is

   * @param array|string $facet
   *   Either the facet definition as returned by facetapi_facet_load() or the
   *   machine readable name of the facet.
 

but method accepts only array values.

CommentFileSizeAuthor
#2 documentation_issue-2563117-2.patch466 bytesPravin Ajaaz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

undertext created an issue. See original summary.

Pravin Ajaaz’s picture

Status: Active » Needs review
FileSize
466 bytes

A patch to fix it.

Sonal.Sangale’s picture

Assigned: Unassigned » Sonal.Sangale
Status: Needs review » Reviewed & tested by the community
Pravin Ajaaz’s picture

  • eugene.ilyin committed 30fb518 on 7.x-1.x
    Issue #2563117 by undertext: Documentation issue with getActiveItems()...
eugene.ilyin’s picture

Patch is wrong. Applied, but with corrections.

eugene.ilyin’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

remydenton’s picture