MeltwaterArchive / editor

GUI editor
MIT License
86 stars 45 forks source link

Query Builder does not validate "Contains words near" properly #25

Open choult opened 11 years ago

choult commented 11 years ago

The contains_near operator requires a minimum of 2 words to operate.

Currently, the Query Builder does not validate this, and so when the user uses "Contains words near" with one word, it accepts the filter, but on save the generated CSDL fails to validate (and the user gets a "Stream could not be saved" error).