Skip to content
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

GravConnector dont use custom class defined in search_object_type #63

Closed
fosil opened this issue Jan 28, 2019 · 1 comment
Closed

GravConnector dont use custom class defined in search_object_type #63

fosil opened this issue Jan 28, 2019 · 1 comment

Comments

@fosil
Copy link

fosil commented Jan 28, 2019

I use custom class with config option search_object_type but connector dont use it.

GravConnector.php on line 28:

$gtnt = new GravTNTSearch();

change to:

$gtnt = \Grav\Plugin\TNTSearchPlugin::getSearchObjectType();

would be a simple solution.

rhukster added a commit that referenced this issue Mar 5, 2019
@rhukster
Copy link
Member

rhukster commented Mar 5, 2019

Good catch. fixed in develop

@rhukster rhukster closed this as completed Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants