Skip to content

Commit

Permalink
quality
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Sep 10, 2024
1 parent fabd676 commit 84fc44d
Showing 1 changed file with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ class Migration(migrations.Migration):
forum_forum.name,
concat_ws(' ', forum_forum.short_description, forum_forum.description),
(
setweight(
to_tsvector('french', forum_forum.name),
'A'
)
||
setweight(
to_tsvector('french', concat_ws(' ', forum_forum.short_description, forum_forum.description)),
'B'
)
setweight(
to_tsvector('french', forum_forum.name),
'A'
)
||
setweight(
to_tsvector('french', concat_ws(' ', forum_forum.short_description, forum_forum.description)),
'B'
)
),
forum_forum.id,
forum_forum.slug,
Expand Down Expand Up @@ -116,15 +116,15 @@ class Migration(migrations.Migration):
forum_forum.name,
concat_ws(' ', forum_forum.short_description, forum_forum.description),
(
setweight(
to_tsvector('french', forum_forum.name),
'A'
)
||
setweight(
to_tsvector('french', concat_ws(' ', forum_forum.short_description, forum_forum.description)),
'B'
)
setweight(
to_tsvector('french', forum_forum.name),
'A'
)
||
setweight(
to_tsvector('french', concat_ws(' ', forum_forum.short_description, forum_forum.description)),
'B'
)
),
forum_forum.id,
forum_forum.slug,
Expand Down

0 comments on commit 84fc44d

Please sign in to comment.