Skip to content

Commit

Permalink
add longDescription to the list of fields we search over
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Aug 10, 2020
1 parent d96877d commit 48ce354
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/Page/Packages.elm
Expand Up @@ -414,10 +414,10 @@ makeRequest options channel queryRaw from size sort =
)
]
)
[ ( "package_attr_name", 1 )
, ( "package_attr_name_query", 1 )
, ( "package_pname", 1 )
, ( "package_description", 1 )
[ ( "package_attr_name", 5 )
, ( "package_attr_name_query", 3 )
, ( "package_pname", 4 )
, ( "package_description", 2 )
, ( "package_longDescription", 1 )
]

Expand Down Expand Up @@ -466,9 +466,9 @@ makeRequest options channel queryRaw from size sort =
)
]
)
[ ( "package_attr_name", 1 )
, ( "package_attr_name_query", 1 )
, ( "package_pname", 1 )
[ ( "package_attr_name", 3 )
, ( "package_attr_name_query", 2 )
, ( "package_pname", 4 )
, ( "package_attr_set", 1 )
]

Expand All @@ -492,9 +492,9 @@ makeRequest options channel queryRaw from size sort =
)
]
)
[ ( "package_attr_name", 1 )
[ ( "package_attr_name", 2 )
, ( "package_attr_name_query", 1 )
, ( "package_pname", 1 )
, ( "package_pname", 3 )
]

should_queries =
Expand All @@ -514,6 +514,7 @@ makeRequest options channel queryRaw from size sort =
[ "package_attr_name_query"
, "package_pname"
, "package_description"
, "package_longDescription"
]
should_queries
)
Expand Down

0 comments on commit 48ce354

Please sign in to comment.