Commit ebc81e45 by Frédéric

searchweight on syndicobjectname

parent fffb6703
...@@ -96,6 +96,9 @@ class ContentTypeFile ...@@ -96,6 +96,9 @@ class ContentTypeFile
'readonly' => true, 'readonly' => true,
'translatable' => true 'translatable' => true
]; ];
if(strtolower($key) == 'syndicobjectname') {
$fields[strtolower($key)]['searchweight'] = 1000;
}
} }
$fields['slug'] = [ $fields['slug'] = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment