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

Searching in the body wiki or page #116

Open
Julianhm9612 opened this issue Sep 19, 2018 · 1 comment
Open

Searching in the body wiki or page #116

Julianhm9612 opened this issue Sep 19, 2018 · 1 comment

Comments

@Julianhm9612
Copy link

The search is global or is a error?

Does not show results of little.

image

@aradhell
Copy link

Are you working on a fork ?
You can simply open TeamController.php and find search() method then change the line sarting with $wikis with
$wikis = Team::find($team->id)->wikis()->where('name', 'like', '%' . $query . '%')->orWhere('description', 'like', '%' . $query . '%')->take(5)->get();

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