parent
949993f852
commit
dda9a8842a
|
@ -31,7 +31,7 @@ class PersonalPatentsController < ApplicationController
|
|||
when "language"
|
||||
patents_show = patents_temp.select {|value| search_all_words((!value.language.nil? ? t("#{value.language}") : ""), params[:keywords])}
|
||||
else
|
||||
patentes_show = patents_temp.select {|value| search_all_words(value.send(params[:selectbox]).to_s, params[:keywords])}
|
||||
patentes_show = patents_temp.select {|value| search_all_words((value.send(params[:selectbox]).to_s rescue ""), params[:keywords])}
|
||||
end
|
||||
if params[:page_no].nil?
|
||||
page_to_show = 1
|
||||
|
|
Loading…
Reference in New Issue