Parcourir la source

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 il y a 7 ans
Parent
commit
0afd24a0e5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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",