Преглед изворни кода

Fix numchild value on root page

When set to 0, the homepage fails to appear in the explorer listing when viewing the root (because Treebeard thinks root is a leaf node and so doesn't bother querying the database for get_children).
Matt Westcott пре 7 година
родитељ
комит
0afd24a0e5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      bakerydemo/base/fixtures/bakerydemo.json

+ 1 - 1
bakerydemo/base/fixtures/bakerydemo.json

@@ -1514,7 +1514,7 @@
   "fields": {
     "path": "0001",
     "depth": 1,
-    "numchild": 0,
+    "numchild": 1,
     "title": "Root",
     "draft_title": "Root",
     "slug": "root",