add ref to search
This commit is contained in:
parent
e45208a394
commit
7e65e3374e
@ -51,7 +51,7 @@ class PProductRef < ApplicationRecord
|
||||
|
||||
include PgSearch::Model
|
||||
pg_search_scope :global_search,
|
||||
against: :cc_name,
|
||||
against: [:ref, :cc_name],
|
||||
associated_against: {
|
||||
s_brand: [ :code, :name ],
|
||||
p_product: [:code],
|
||||
|
Reference in New Issue
Block a user