yeg-relief / youcanbenefit

YouCanBenefit is a web application that increases social benefit program discoverability for people of lesser means and their allies.
https://youcanbenefit.edmonton.ca
MIT License
13 stars 9 forks source link

Queries created in new unsaved program remain in elasticsearch #61

Open CodyGramlich opened 5 years ago

CodyGramlich commented 5 years ago

When a user creates a program, adds some queries, but then clicks away from the page so that the program was never saved, the queries remain in elasticsearch. When queries are created on an existing program and the program is not saved, the queries remain (which I think we would want to have).

This bug isn't too big of a problem as it won't affect programs that show up since the programs for the queries don't exist.

slmyers commented 5 years ago

You're on point @CodyGramlich great work.

edit: few people (in my experience) crawl apps they start working on for bugs/flaws.