sonata-project / SonataTranslationBundle
Showing 1 of 1 files from the diff.

@@ -73,12 +73,12 @@
Loading
73 73
            // search on translation OR on normal field when using Gedmo
74 74
            $this->applyGedmoFilters($query, $joinAlias, $alias, $field, $value);
75 75
76 -
            $this->active = true;
76 +
            $this->setActive(true);
77 77
        } elseif (TranslationFilterMode::KNPLABS === $filterMode) {
78 78
            // search on translation OR on normal field when using Knp
79 79
            $this->applyKnplabsFilters($query, $joinAlias, $field, $value);
80 80
81 -
            $this->active = true;
81 +
            $this->setActive(true);
82 82
        } else {
83 83
            throw new \LogicException(sprintf('Invalid filter mode given: "%s"', $filterMode));
84 84
        }
Files Complexity Coverage
src 129 73.33%
Project Totals (23 files) 129 73.33%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading