Permalink
Browse files

CS-5967 - Add subtopic bug

  • Loading branch information...
takeit committed Mar 16, 2016
1 parent 3cc0eef commit 6aee8127f7606b21807c574032e7efc12f8eb324
Showing with 9 additions and 5 deletions.
  1. +6 −2 README.md
  2. +3 −3 newscoop/src/Newscoop/NewscoopBundle/Resources/views/Topics/index.html.twig
@@ -51,9 +51,12 @@ docker-compose -f docker-compose-dev.yml up
## Requirements
PHP version must be at least 5.4 on Debian and CentOS to run Newscoop properly. See [PHP bug][14].
- PHP version must be at least 5.4 on Debian and CentOS to run Newscoop properly. See [PHP bug][14].
MySQL can't work in "strict mode". Newscoop will currently break in many places when "strict mode" is enabled.
- MySQL can't work in "strict mode". Newscoop will currently break in many places when "strict mode" is enabled.
- If you use `E_DEPRECATED` error_reporting level in PHP 5.6, you can get the behaviour described in this [PHP bug][18] report.
`always_populate_raw_post_data` must be set to `-1` in your `php.ini` file.
**Compatibility**
@@ -99,3 +102,4 @@ Newscoop is licensed under the GPL3 license.
[15]: http://docs.sourcefabric.org/projects/newscoop-plugins/en/latest/
[16]: http://docs.sourcefabric.org/projects/newscoop-restful-api/en/master/
[17]: http://docs.sourcefabric.org/projects/newscoop-cookbook/en/latest/
[18]: https://bugs.php.net/bug.php?id=66763
@@ -180,15 +180,15 @@
<a class="btn btn-sm btn-default" data-nodrag ng-click="treeCtrl.hideExtraOptions(this)"><span title="{{ 'topics.btn.hide'|trans }}" class="glyphicon glyphicon-chevron-up"></span></a>
</div>
</div>
<ol ui-tree-nodes ng-model="node.__children" ng-if="collapsed || treeCtrl.showExpanded || toggler">
<li ng-repeat="node in node.__children" id="node{[{::node.id}]}" ng-if="treeCtrl.treeFilter(node, treeCtrl.pattern, treeCtrl.supportedFields, this) && !dim" ui-tree-node ng-include="'nodes_renderer.html'">
<ol ui-tree-nodes ng-model="node.__children">
<li ng-if="collapsed || treeCtrl.showExpanded || toggler" ng-repeat="node in node.__children" id="node{[{::node.id}]}" ng-if="treeCtrl.treeFilter(node, treeCtrl.pattern, treeCtrl.supportedFields, this) && !dim" ui-tree-node ng-include="'nodes_renderer.html'">
</li>
</ol>
</script>
<div ui-tree="treeCtrl.treeOptions" {% if compactView %}data-drag-enabled="false"{% endif %} id="tree-root">
<ol ui-tree-nodes ng-model="treeCtrl.data">
<li ng-repeat="node in treeCtrl.data track by node.id" id="node{[{::node.id}]}" ui-tree-node ng-include="'nodes_renderer.html'" ng-hide="treeCtrl.pattern && !treeCtrl.treeFilter(node, treeCtrl.pattern, treeCtrl.supportedFields, this) && !dim"></li>
<li ng-repeat="node in treeCtrl.data" id="node{[{::node.id}]}" ui-tree-node ng-include="'nodes_renderer.html'" ng-hide="treeCtrl.pattern && !treeCtrl.treeFilter(node, treeCtrl.pattern, treeCtrl.supportedFields, this) && !dim"></li>
</ol>
</div>
<!-- Modal -->

0 comments on commit 6aee812

Please sign in to comment.