src/articles/classes/Controller/Admin/Content.php
protected function actionUp(Eresus_CMS_Request $request)
    {
        $article = $this->findArticle($request->query->getInt('id'));
        $helper = new ORM_Helper_Ordering();
        $helper->groupBy('section');

        /** @var Articles $plugin */
        $plugin = $this->getPlugin();
        if ($plugin->settings['listSortDesc'])
        {
            $helper->moveDown($article);
        }
        else
        {
            $helper->moveUp($article);
        }

        return new Eresus_HTTP_Redirect(Eresus_Kernel::app()->getPage()->url(array('id' => '')));
    }
protected function actionUp(Eresus_CMS_Request $request)
    {
        $article = $this->findArticle($request->query->getInt('id'));
        $helper = new ORM_Helper_Ordering();
        $helper->groupBy('section');

        /** @var Articles $plugin */
        $plugin = $this->getPlugin();
        if ($plugin->settings['listSortDesc'])
        {
            $helper->moveDown($article);
        }
        else
        {
            $helper->moveUp($article);
        }

        return new Eresus_HTTP_Redirect(Eresus_Kernel::app()->getPage()->url(array('id' => '')));
    }
Перемещает статью выше по списку

@param Eresus_CMS_Request $request

@return Eresus_HTTP_Redirect

@since 3.01