From 0f38f8bd8fe7b1e6efe3f65655c1af7b82bcd693 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 25 Aug 2022 11:58:00 +0200 Subject: [PATCH] wait #5411 @0.5 --- app/Fluidbook/SearchIndex.php | 2 +- app/Jobs/FluidbookCompiler.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Fluidbook/SearchIndex.php b/app/Fluidbook/SearchIndex.php index f752a6ebc..2745aaedd 100644 --- a/app/Fluidbook/SearchIndex.php +++ b/app/Fluidbook/SearchIndex.php @@ -73,7 +73,7 @@ class SearchIndex continue; } unset($w['word']); - $w['word'] = $page; + $w['page'] = $page; $w['idx'] = $i; if (!isset($res[$word])) { $res[$word] = array(); diff --git a/app/Jobs/FluidbookCompiler.php b/app/Jobs/FluidbookCompiler.php index a8c0bc164..825c75c86 100644 --- a/app/Jobs/FluidbookCompiler.php +++ b/app/Jobs/FluidbookCompiler.php @@ -1898,8 +1898,6 @@ height="0" width="0" style="display:none;visibility:hidden"> protected function writeIndex() { - - $iv = $this->getIndexVars(); $this->log('Got index vars'); foreach ($iv as $k => $v) { -- 2.39.5