$criteriaInstance = ObjectFactory::createObjectByConfiguredName('search_criteria_class');
// Add the command as criteria to it at lease
- $criteriaInstance->addCriteria('page', $command);
+ $criteriaInstance->addCriteria('command', $command);
// Add limitation from config
$criteriaInstance->setConfiguredLimit('news_' . $command . '_limit');