Prevent multiple search refreshes when unnecessary
This commit is contained in:
parent
828341ce80
commit
c45347ec25
|
@ -41,6 +41,7 @@ func getSearchOptions(db *sql.DB) {
|
|||
options, err := logic.GetAllSearchOptions(db, searchCriteria)
|
||||
logic.Check(err)
|
||||
searchOptions = options
|
||||
shouldRefreshSearch = false
|
||||
fmt.Println("READY")
|
||||
fmt.Println("RUN")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue