Commit 3aed4032 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Fixed optimade query for inclusive formula search.

parent b006a38b
Pipeline #92693 skipped with stage
This diff is collapsed.
......@@ -420,7 +420,7 @@ class Formula{
const fragment = '"' + element + (number === 1 ? '' : +number) + '"';
fragments.push(fragment)
})
return 'formula HAS ' + (allowOtherElements ? 'ANY ' : 'ONLY ') + fragments.join(', ')
return 'formula HAS ' + (allowOtherElements ? 'ALL ' : 'ONLY ') + fragments.join(', ')
}
......
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