From: Vincent Vanwaelscappel Date: Thu, 25 Aug 2022 09:58:00 +0000 (+0200) Subject: wait #5411 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=0f38f8bd8fe7b1e6efe3f65655c1af7b82bcd693;p=fluidbook-toolbox.git wait #5411 @0.5 --- 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) {