aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-09-10 14:44:59 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-09-10 14:44:59 +0200
commiteaf2c769be6f1a052994ac6f9f5b5a5221596b12 (patch)
tree608403633579a094c90a92cb1dd1beafe4f2fcb9 /inc
parentce4a1dcc193d3124fc51c4942137621d3d806a19 (diff)
parent2230a38cd678259947ccaffecee579604822d1cf (diff)
downloadwallabag-eaf2c769be6f1a052994ac6f9f5b5a5221596b12.tar.gz
wallabag-eaf2c769be6f1a052994ac6f9f5b5a5221596b12.tar.zst
wallabag-eaf2c769be6f1a052994ac6f9f5b5a5221596b12.zip
Merge branch 'dev' of https://github.com/inthepoche/poche into dev
Diffstat (limited to 'inc')
-rw-r--r--inc/poche/Poche.class.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 5030c9aa..534e660a 100644
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -262,6 +262,7 @@ class Poche
262 $tpl_vars = array( 262 $tpl_vars = array(
263 'entries' => '', 263 'entries' => '',
264 'page_links' => '', 264 'page_links' => '',
265 'nb_results' => '',
265 ); 266 );
266 if (count($entries) > 0) { 267 if (count($entries) > 0) {
267 $this->pagination->set_total(count($entries)); 268 $this->pagination->set_total(count($entries));
@@ -269,6 +270,7 @@ class Poche
269 $datas = $this->store->getEntriesByView($view, $this->user->getId(), $this->pagination->get_limit()); 270 $datas = $this->store->getEntriesByView($view, $this->user->getId(), $this->pagination->get_limit());
270 $tpl_vars['entries'] = $datas; 271 $tpl_vars['entries'] = $datas;
271 $tpl_vars['page_links'] = $page_links; 272 $tpl_vars['page_links'] = $page_links;
273 $tpl_vars['nb_results'] = count($entries);
272 } 274 }
273 Tools::logm('display ' . $view . ' view'); 275 Tools::logm('display ' . $view . ' view');
274 break; 276 break;