From 64ac29adca05b0daaaa34b0bee183858ffa3967c Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Wed, 25 Nov 2020 13:58:54 +0000 Subject: [PATCH] Fix typo preventing filter run prefix modules from being cached This had a significant impact on performance. --- core/modules/filters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/filters.js b/core/modules/filters.js index 9a18eb2af..0beb86208 100644 --- a/core/modules/filters.js +++ b/core/modules/filters.js @@ -188,7 +188,7 @@ exports.getFilterOperators = function() { }; exports.getFilterRunPrefixes = function() { - if(!this.filterPrefixes) { + if(!this.filterRunPrefixes) { $tw.Wiki.prototype.filterRunPrefixes = {}; $tw.modules.applyMethods("filterrunprefix",this.filterRunPrefixes); }