Skip to content

CLI Extension Hook for relationship_query has incorrect params #3421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dougblackjr opened this issue May 18, 2023 · 1 comment · Fixed by #3422
Closed

CLI Extension Hook for relationship_query has incorrect params #3421

dougblackjr opened this issue May 18, 2023 · 1 comment · Fixed by #3422

Comments

@dougblackjr
Copy link
Contributor

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

@dougblackjr
Copy link
Contributor Author

Addressed in #3422

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant