parent
f6e2d47c35
commit
96af616d2d
|
@ -25,7 +25,7 @@ class PersonalProjectsController < ApplicationController
|
|||
when "project_type"
|
||||
projects_show = projects_temp.select {|value| search_all_words(value.send("project_type").title.to_s, params[:keywords])}
|
||||
when "project_title","default"
|
||||
projects_show = projects_temp.select {|value| search_all_words(value.send("project_title").to_s), params[:keywords])}
|
||||
projects_show = projects_temp.select {|value| search_all_words(value.send("project_title").to_s, params[:keywords])}
|
||||
when "period"
|
||||
projects_show = projects_temp.select {|value| search_all_words(value.send("duration").to_s, params[:keywords])}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue