mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 10:01:11 +08:00
FIX: Search does not retrigger when context has changed. Take 2.
https://meta.discourse.org/t/using-the-search-this-topic-check-box-blocks-search-on-other-pages/56832/6?u=tgxworld
This commit is contained in:
@ -33,14 +33,14 @@ export function success() {
|
||||
}
|
||||
|
||||
const loggedIn = () => !!Discourse.User.current();
|
||||
|
||||
const helpers = { response, success, parsePostData };
|
||||
export let fixturesByUrl;
|
||||
|
||||
export default function() {
|
||||
const server = new Pretender(function() {
|
||||
storePretender.call(this, helpers);
|
||||
flagPretender.call(this, helpers);
|
||||
const fixturesByUrl = fixturePretender.call(this, helpers);
|
||||
fixturesByUrl = fixturePretender.call(this, helpers);
|
||||
|
||||
this.get("/admin/plugins", () => response({ plugins: [] }));
|
||||
|
||||
|
Reference in New Issue
Block a user