Search projects on dashboard was not worked. Fixed
This commit is contained in:
parent
7367f1cfd8
commit
072883fd08
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ class DashboardController < ApplicationController
|
||||||
@projects
|
@projects
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@projects = @projects.search(params[:search]) if params[:search].present?
|
||||||
@projects = @projects.page(params[:page]).per(30)
|
@projects = @projects.page(params[:page]).per(30)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue