Dotclear

Ticket #668 (closed defect: fixed)

Opened 12 years ago

Last modified 8 years ago

Multitoc and post_type

Reported by: philippe Owned by: Tomtom33
Priority: normal Component: plugin:multiToc
Severity: normal Keywords: post_type
Cc:

Description

En filtrant la table des matières par catégories, les catégories comportant des billets dont le post_type n'est pas "post" sont affichées aussi.

J'ai bricolé la ligne 121 de _public.php comme ça :

$p .= "\$_ctx->multitoc_group = \$core->blog->getCategories(array('post_type'=>'post'));\n";

Change History

comment:1 Changed 8 years ago by brol

  • Status changed from new to closed
  • Resolution set to fixed

La version 1.7 intègre cette modif.

Note: See TracTickets for help on using tickets.

Sites map