FOSCommentBundle排序

时间:2014-06-05 18:51:17

标签: symfony foscommentbundle

如何在FOSCommentBundle上配置升序排序

我已尝试过以下操作,但我不断获得"最大功能嵌套级别"(设置为200)错误。

fos_comment:
  service:
    sorting:
      default: (ASC sorting service)

有什么想法吗?是否有关于如何正确配置此功能的实际文档

1 个答案:

答案 0 :(得分:1)

事实证明,这是正确的配置。错误实际上是因为我需要将xdebug嵌套级别设置得更高。

结帐@stof的回复:https://github.com/FriendsOfSymfony/FOSCommentBundle/issues/436

同样,我为如何配置它而创建的文档已合并到:https://github.com/FriendsOfSymfony/FOSCommentBundle/blob/master/Resources/doc/14-customizing_tree_sorting.md