Indefero

Indefero Commit Details


Date:2011-10-03 17:46:48 (13 years 6 months ago)
Author:Thomas Keller
Branch:develop, feature.diff-whitespace, feature.search-filter, feature.wiki-default-page, release-1.2, release-1.3
Commit:9e2ea7404b46d53b558c290613e6cf85fe9e0f40
Parents: 160d11b89be35086ae0e132c4a1f090ad3ceb767
Message:Tags are now returned grouped by class, I seem to have missed this call when I changed the API...

Changes:

File differences

src/IDF/Views/Issue.php
119119
120120
121121
122
123
124
122
123
124
125
126
125127
126128
127129
                }
                // Issue class tag statistics
                $tags = $prj->getTagCloud();
                foreach ($tags as $t) {
                    $tagStatistics[$t->class][$t->name] = array($t->nb_use, $t->id);
                $grouped_tags = $prj->getTagCloud();
                foreach ($grouped_tags as $class => $tags) {
                    foreach ($tags as $tag) {
                        $tagStatistics[$class][$tag->name] = array($tag->nb_use, $tag->id);
                    }
                }
                foreach($tagStatistics as $k => $v) {
                    $nbIssueInClass = 0;

Archive Download the corresponding diff file

Page rendered in 0.25370s using 13 queries.