aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Poche.class.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-12-06 14:22:29 +0100
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-12-06 14:22:29 +0100
commit4886ed6d3637df0b3e16e672d58d4ef8f17dc432 (patch)
tree2e4255655a218eb7d42522ff3009a2826b03d002 /inc/poche/Poche.class.php
parent74ec445a662aa31f713bc50e74c9366da336538a (diff)
downloadwallabag-4886ed6d3637df0b3e16e672d58d4ef8f17dc432.tar.gz
wallabag-4886ed6d3637df0b3e16e672d58d4ef8f17dc432.tar.zst
wallabag-4886ed6d3637df0b3e16e672d58d4ef8f17dc432.zip
[add] page which lists entries for a tag
Diffstat (limited to 'inc/poche/Poche.class.php')
-rw-r--r--inc/poche/Poche.class.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 5d368842..fefbb02d 100644
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -437,6 +437,14 @@ class Poche
437 'tags' => $tags, 437 'tags' => $tags,
438 ); 438 );
439 break; 439 break;
440 case 'tag':
441 $entries = $this->store->retrieveEntriesByTag($id);
442 $tag = $this->store->retrieveTag($id);
443 $tpl_vars = array(
444 'tag' => $tag,
445 'entries' => $entries,
446 );
447 break;
440 case 'tags': 448 case 'tags':
441 $tags = $this->store->retrieveAllTags(); 449 $tags = $this->store->retrieveAllTags();
442 $tpl_vars = array( 450 $tpl_vars = array(