Bug recherche marques sur références
This commit is contained in:
parent
1609c92ab7
commit
57bac61ac9
@ -42,7 +42,7 @@ class Admin::PProductRefsController < ApplicationController
|
||||
|
||||
|
||||
if params[:search][:s_brand_id].to_s != ""
|
||||
@p_product_refs = @p_product_refs.where(:s_brand_id => params[:search][:s_brand_id])
|
||||
@p_product_refs = @p_product_refs.where(:p_products => {:s_brand_id => params[:search][:s_brand_id]})
|
||||
end
|
||||
|
||||
@p_product_refs = sort_by_sorting(@p_product_refs, "id DESC")
|
||||
|
Reference in New Issue
Block a user