« get me outta code hell

filterMultipleArrays: forgot this part - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-07-04 11:53:49 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-07-04 11:53:49 -0300
commit6d191b557acfb348d768a40cd4adb06b21e18c19 (patch)
tree42a6b456a426ee9ad1c957c1a5482b5e86520cff
parentad7c99605b2683c1426aacf857a6136130993815 (diff)
filterMultipleArrays: forgot this part
-rw-r--r--src/util/wiki-data.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/wiki-data.js b/src/util/wiki-data.js
index c477a6d8..7408593b 100644
--- a/src/util/wiki-data.js
+++ b/src/util/wiki-data.js
@@ -167,6 +167,7 @@ export function filterMultipleArrays(...args) {
 
   for (let i = length - 1; i >= 0; i--) {
     const args = arrays.map(array => array[i]);
+    args.push(i, arrays);
 
     if (!fn(...args)) {
       for (let j = 0; j < arrays.length; j++) {