FOSCommentBundle排序

检查

如何在FOSCommentBundle上配置升序排序

我已经尝试了以下方法,但始终收到“最大函数嵌套级别”(设置为200)错误。

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

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

检查

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

在此处签出@stof的回复:https : //github.com/FriendsOfSymfony/FOSCommentBundle/issues/436

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

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章