Commit dc110766 authored by matthias.lang's avatar matthias.lang
Browse files

:web: fix: run search again after authentication

parent 5c6d1bdf
......@@ -458,8 +458,9 @@
if (this.query == '') {
this.query = this.visitorMail;
this.search();
}
this.search(); // run search again, cause it might give different results, now that we're logged in.
} else {
this.visitorLoggedIn = false;
}
......@@ -507,7 +508,7 @@
}
this.query = this.getUrlParameter('q')
if (this.query != '') {
this.search()
this.search() // this should ideally be bound to a promise of "getShibSessionData()", so we don't have to run the search twice to avoid concurrency glitches.
}
}
......
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