protected function getItemsFromFilter($filter, $config)
    {
        $sorting = $this->extractSorting($config);

        return $this->getMetaModel()->findByFilter(
            $filter,
            $sorting[0],
            $config->getStart(),
            $config->getAmount(),
            strtoupper($sorting[1]),
            $config->getFields() ?: array()
        );
    }