Skip to content

CLI Extension Hook for relationship_query has incorrect params #3421

Description

@dougblackjr

Description of the problem

The relationship_query hook generator that is used by the CLI for extension hook generation has the incorrect parameters.

The docs states the parameters are: relationships_query($field_name, $entry_ids, $depths, $sql)

The generator creates the hook with $field_name, $entry.

How To Reproduce
Steps to reproduce the behavior:

Run eecli.php make:extension-hook and choose the relationship_query hook.

image

EE 7.2.x

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions