Commit f26b3b74 authored by Frank Bergmann's avatar Frank Bergmann

- Fixed TSearch2 for PG 10

parent 7815f86a
......@@ -150,7 +150,7 @@ set inner_sql "
im_search_object_types sot
where
so.object_type_id = sot.object_type_id and
so.fti @@ to_tsquery('default',:q)
so.fti @@ to_tsquery('default':regconfig, :q)
"
# Sum up the ranks of the two searches
......
......@@ -317,7 +317,7 @@ ad_form -extend -name $form_id -new_request {
from im_search_objects so,
im_search_object_types sot
where so.object_type_id = sot.object_type_id and
so.fti @@ to_tsquery('default',:q)
so.fti @@ to_tsquery('default':regconfig, :q)
"
# Sum up the ranks of the two searches
......@@ -449,7 +449,7 @@ ad_form -extend -name $form_id -new_request {
im_search_object_types sot
where
so.object_type_id = sot.object_type_id and
so.fti @@ to_tsquery('default',:q)
so.fti @@ to_tsquery('default':regconfig, :q)
"
# Sum up the ranks of the two searches
......
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