]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5411 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 25 Aug 2022 09:58:00 +0000 (11:58 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 25 Aug 2022 09:58:00 +0000 (11:58 +0200)
app/Fluidbook/SearchIndex.php
app/Jobs/FluidbookCompiler.php

index f752a6ebcd027cad83993e9c2423d2f23837776e..2745aaeddb5738eb17d6754913707791b6d4f767 100644 (file)
@@ -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();
index a8c0bc1641179aa6ade344e26ae37bce90e5038b..825c75c86a34cf8338d92bb1c9971a2062ea02f1 100644 (file)
@@ -1898,8 +1898,6 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
 
     protected function writeIndex()
     {
-
-
         $iv = $this->getIndexVars();
         $this->log('Got index vars');
         foreach ($iv as $k => $v) {