Ticket #668 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
La version 1.7 intègre cette modif.