Skip to content

"WORD_LIST" condition is broken #13

@domino14

Description

@domino14

If you send the following to the Search endpoint:

{
    "searchparams": [
        {
            "condition": "LEXICON",
            "stringvalue": {
                "value": "CSW21"
            }
        }, 
        {
            "condition": "WORD_LIST",
            "stringarray": {
                "values": ["FOO"]
            }
        }
    ],
    "expand": false 
    
}

It generates this query:

SELECT word, alphagram FROM (
	SELECT alphagrams.alphagram
	FROM alphagrams
	WHERE words.word = ?
	ORDER BY alphagrams.probability
	) q
INNER JOIN words w using (alphagram)

and words.word is not a column.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions