From e6e0a8ee5b1b4b1bfe2b125bda431c0fa37e7257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Tue, 3 Jun 2014 21:40:45 +0200 Subject: [PATCH] Fix the remaining number of elements. re #79 --- book.php | 2 +- language.php | 2 +- rating.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/book.php b/book.php index 344bf2e..4599f75 100644 --- a/book.php +++ b/book.php @@ -547,7 +547,7 @@ order by substr (upper (sort), 1, 1)", "substr (upper (sort), 1, 1) as title, co { array_push ($entryArray, new Entry ($post->title, Book::getEntryIdByLetter ($post->title), str_format (localize("bookword", $post->count), $post->count), "text", - array ( new LinkNavigation ("?page=".parent::PAGE_ALL_BOOKS_LETTER."&id=". rawurlencode ($post->title))))); + array ( new LinkNavigation ("?page=".parent::PAGE_ALL_BOOKS_LETTER."&id=". rawurlencode ($post->title))), "", $post->count)); } return $entryArray; } diff --git a/language.php b/language.php index a9a984b..568923e 100644 --- a/language.php +++ b/language.php @@ -63,7 +63,7 @@ order by languages.lang_code'); $language = new Language ($post->id, $post->lang_code); array_push ($entryArray, new Entry (Language::getLanguageString ($language->lang_code), $language->getEntryId (), str_format (localize("bookword", $post->count), $post->count), "text", - array ( new LinkNavigation ($language->getUri ())))); + array ( new LinkNavigation ($language->getUri ())), "", $post->count)); } return $entryArray; } diff --git a/rating.php b/rating.php index 19f59d1..e3d5214 100644 --- a/rating.php +++ b/rating.php @@ -48,7 +48,7 @@ class Rating extends Base { $rating = str_format (localize("ratingword", $rating), $rating); array_push ($entryArray, new Entry ($rating, $ratingObj->getEntryId (), str_format (localize("bookword", $post->count), $post->count), "text", - array ( new LinkNavigation ($ratingObj->getUri ())))); + array ( new LinkNavigation ($ratingObj->getUri ())), "", $post->count)); } return $entryArray; }