From: Vincent Vanwaelscappel Date: Thu, 20 Jan 2022 17:58:08 +0000 (+0100) Subject: wip #4804 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=319a98cf3c78c1e60cb5058988d4736f0498d6e0;p=cubist_minisearch.git wip #4804 --- diff --git a/src/Document/PDF.php b/src/Document/PDF.php index 58d4066..e520da7 100644 --- a/src/Document/PDF.php +++ b/src/Document/PDF.php @@ -32,8 +32,8 @@ class PDF extends Document $res = []; for ($i = 1; $i <= $pages; $i++) { $page = $base; - $page['id'] .= '#' . $i; - $page['url'] .= '#' . $i; + $page['id'] .= '#page=' . $i; + $page['url'] .= '#page=' . $i; $page['text'] = file_get_contents($doc->getConvertPath() . '/texts/fp' . $i . '.txt'); $res[] = $page; }