Skip to content

Commit

Permalink
quality
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Sep 5, 2024
1 parent 6b340d4 commit b1ba2e6
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 b1ba2e6

Please sign in to comment.